code: def msg(self, target, msg):
          
          self.cmd(u'PRIVMSG', u'{0} :{1}'.format(target, msg))
docs: Sends a message to an user or channel.
  
          :param target: user or channel to send to.
          :type target: str
          :param msg: message to send.
          :type msg: str