code: def action(self, target, message, formatted=True, tags=None):
          
          if formatted:
              message = unescape(message)
  
          self.ctcp(target, 'ACTION', message)
docs: Send an action to the given target.