force register commands on ready
This commit is contained in:
parent
c98f41376b
commit
474db87184
@ -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")
|
||||
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user