Skip to content

Commit 17ef0a5

Browse files
committed
Remove some spaces
1 parent f39bbcd commit 17ef0a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

discord_slash/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,13 +535,11 @@ def add_slash_command(
535535
"""
536536
name = name or cmd.__name__
537537
name = name.lower()
538-
539538
guild_ids = guild_ids or []
540539
if not all(isinstance(item, int) for item in guild_ids):
541540
raise error.IncorrectGuildIDType(
542541
f"The snowflake IDs {guild_ids} given are not a list of integers. Because of discord.py convention, please use integer IDs instead. Furthermore, the command '{name}' will be deactivated and broken until fixed."
543542
)
544-
545543
if name in self.commands:
546544
tgt = self.commands[name]
547545
if not tgt.has_subcommands:

0 commit comments

Comments
 (0)