diff --git a/app/bot.py b/app/bot.py index bfdaa646..4911f119 100755 --- a/app/bot.py +++ b/app/bot.py @@ -32,7 +32,8 @@ async def on_ready(): ), ) if os.getenv("DRAGON_ENV") == "prod": - await bot.register_commands(guild_id=core_utils.my_guilds, force=True) + for guild in bot.guilds: + await bot.register_commands(guild_id=guild.id, force=True) await bot.get_channel(152921472304676865).send("I have reconnected") diff --git a/app/cogs/actual_utils.py b/app/cogs/actual_utils.py index 7b697bc8..d6842bb2 100644 --- a/app/cogs/actual_utils.py +++ b/app/cogs/actual_utils.py @@ -82,7 +82,7 @@ class ActualUtils(commands.Cog): @commands.slash_command( guild_ids=core_utils.my_guilds, name="sd", - description="Pass a prompt and optinal negative prompt to stable diffusion", + description="Pass a prompt and optional negative prompt to stable diffusion", ) @option( "positive_prompt",