docs: def bot_intent(self) -> "IntentAPI":
          """
          Get the intent API for the appservice bot.
  
          Returns:
              The IntentAPI for the appservice bot.
          """
          if not self._bot_intent:
              self._bot_intent = IntentAPI(self.bot_mxid, self, state_store=self.state_store,
                                           log=self.intent_log)
          return self._bot_intent