code: def _validate_xoxp_token(self):
          
  
          if self.token.startswith("xoxb"):
              method_name = inspect.stack()[1][3]
              msg = "The method '{}' cannot be called with a Bot Token.".format(
                  method_name
              )
              raise err.BotUserAccessError(msg)
docs: Ensures that an xoxp token is used when the specified method is called.
  
          Raises:
              BotUserAccessError: If the API method is called with a Bot User OAuth Access Token.