code: def on_privmsg(self, c, e):
          
          text = e.arguments[0]
          logger.debug('{0!s}'.format(e.source))
          metadata = self.set_metadata(e)
          metadata['is_private_message'] = True
          message = Message(text=text, metadata=metadata).__dict__
          self.baseplate.tell(message)
docs: This function runs when the bot receives a private message (query).