force register commands on ready

This commit is contained in:
Luke Robles 2022-10-18 12:26:06 -07:00
parent 8547fe7a1b
commit c98f41376b

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