We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c2b36 commit 863c619Copy full SHA for 863c619
discord/bot.py
@@ -285,8 +285,8 @@ async def register_commands(self) -> None:
285
for name, command in registered_commands_dict.items():
286
if not name in global_pending_application_commands_dict.keys():
287
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
-
+ needs_bulk = True
+
290
if needs_bulk:
291
commands = await self.http.bulk_upsert_global_commands(self.user.id, commands_to_bulk)
292
else:
0 commit comments