force register commands on ready

This commit is contained in:
Luke Robles 2022-10-18 12:26:06 -07:00
parent 3eb0127675
commit 14d8ab0582

View File

@ -32,6 +32,7 @@ async def on_ready():
),
)
if os.getenv("DRAGON_ENV") == "prod":
await bot.register_commands(guild_id=core_utils.my_guilds, force=True)
await bot.get_channel(152921472304676865).send("I have reconnected")