code: async def send(self, msg: Message):
          
          if not msg.sender:
              msg.sender = str(self.agent.jid)
              logger.debug(f"Adding agent's jid as sender to message: {msg}")
          await self.agent.container.send(msg, self)
          msg.sent = True
          self.agent.traces.append(msg, category=str(self))
docs: Sends a message.
  
          Args:
              msg (spade.message.Message): the message to be sent.