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))