revert desync

This commit is contained in:
leander committed 2025-10-28 16:34:31 +01:00
1 parent 803cec54d6
commit 763aeb1d08
1 file changed
+1 -2
+1 -2
View File
@@ -81,8 +81,7 @@ class Bot(commands.Bot):
# Sync slash commands
if self.config_mode == "prod":
await self.tree.clear_commands(guild=None)
await self.tree.sync()
await self.tree.sync(guild=None)
else:
self.tree.copy_global_to(guild=discord.Object(id=self.guild_id))
await self.tree.sync(guild=discord.Object(id=self.guild_id))