Skip to content

Commit 863c619

Browse files
committed
missing needs_bulk = True for deleted commands
1 parent 23c2b36 commit 863c619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ async def register_commands(self) -> None:
285285
for name, command in registered_commands_dict.items():
286286
if not name in global_pending_application_commands_dict.keys():
287287
print(f"A registered global command '{name}' is not found in the pending global commands, will send to Discord to update")
288-
needs_bulk
289-
288+
needs_bulk = True
289+
290290
if needs_bulk:
291291
commands = await self.http.bulk_upsert_global_commands(self.user.id, commands_to_bulk)
292292
else:

0 commit comments

Comments
 (0)