Send a privmsg to the given target.

def msg(self, target, message, formatted=True, tags=None):
        """Send a privmsg to the given target."""
        if formatted:
            message = unescape(message)

        self.send('PRIVMSG', params=[target, message], source=self.nick, tags=tags)