code: def privmsg(self, target, message):
          
          with self.lock:
              self.send('PRIVMSG ' + target + ' :' + message)
              if self.readable():
                  msg = self._recv(expected_replies=('301',))
                  if msg[0] == '301':
                      return 'AWAY', msg[2].split(None, 1)[1].replace(':', '', 1)
docs: Sends a PRIVMSG to someone.
          Required arguments:
          * target - Who to send the message to.
          * message - Message to send.