Fix code style issues with Black

This commit is contained in:
Lint Action 2021-09-06 19:05:39 +00:00
parent 17096629cd
commit f82fa5315d

View File

@ -272,9 +272,9 @@ class BotBase(GroupMixin):
for guild in guilds: for guild in guilds:
commands[guild].append(payload) commands[guild].append(payload)
http: HTTPClient = self.http # type: ignore http: HTTPClient = self.http # type: ignore
global_commands = commands.pop(None, None) 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 global_commands is not None:
if self.slash_command_guilds is None: if self.slash_command_guilds is None:
await http.bulk_upsert_global_commands( await http.bulk_upsert_global_commands(