diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 47c58c7d..1ff160c5 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -272,9 +272,9 @@ class BotBase(GroupMixin): for guild in guilds: commands[guild].append(payload) - http: HTTPClient = self.http # type: ignore + http: HTTPClient = self.http # type: ignore global_commands = commands.pop(None, None) - application_id = self.application_id or (await self.application_info()).id # type: ignore + application_id = self.application_id or (await self.application_info()).id # type: ignore if global_commands is not None: if self.slash_command_guilds is None: await http.bulk_upsert_global_commands(