Skip to content

Commit 4af8da5

Browse files
committed
Fix last commit
1 parent 14c361c commit 4af8da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ async def register_commands(self) -> None:
197197
cmd = get(self.to_register, name=i["name"], description=i["description"], type=i['type'])
198198
self.app_commands[i["id"]] = cmd
199199
except Forbidden:
200-
if update_guild_commands[guild_id]:
200+
if update_guild_commands[guild_id] == []:
201201
continue
202202
else:
203203
raise

0 commit comments

Comments
 (0)