From 76dbdb1f0a59e788386cfe6cb8af4ba151a7f9aa Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Fri, 23 Oct 2026 21:30:18 +0200 Subject: [PATCH] read BOT_CONFIG_MODE instead of CONFIG_MODE when syncing commands Co-Authored-By: Claude Opus 5.5 --- bot/src/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/run.py b/bot/src/run.py index e69bf11..c33f333 100644 --- a/bot/src/run.py +++ b/bot/src/run.py @@ -63,7 +63,7 @@ class Bot(commands.Bot): await bot.load_extension(f"cogs.{name}") # Sync slash commands - if os.environ.get("CONFIG_MODE") == "prod": + if os.environ.get("BOT_CONFIG_MODE") == "prod": await self.tree.sync() else: self.tree.copy_global_to(guild=discord.Object(id=self.guild_id))