Remove the server block from stable diffusion command i guess
All checks were successful
Build and push / changes (push) Successful in 6s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 19s
Build and push / post-status-to-discord (push) Successful in 1s
Build and push / sync-argocd-app (push) Successful in 4s
All checks were successful
Build and push / changes (push) Successful in 6s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 19s
Build and push / post-status-to-discord (push) Successful in 1s
Build and push / sync-argocd-app (push) Successful in 4s
This commit is contained in:
parent
c8bf963836
commit
df9a83eafd
@ -11,7 +11,7 @@ class StableDiffusion(commands.Cog):
|
||||
|
||||
@commands.has_role("stable-diffuser")
|
||||
@commands.slash_command(
|
||||
guild_ids=core_utils.my_guilds,
|
||||
# guild_ids=core_utils.my_guilds,
|
||||
name="sd",
|
||||
description="Pass a prompt and optional negative prompt to stable diffusion",
|
||||
)
|
||||
@ -90,7 +90,7 @@ class StableDiffusion(commands.Cog):
|
||||
os.remove(file_path)
|
||||
except Exception as e:
|
||||
await original_message.edit(
|
||||
"Stable diffusion isnt running right now, sorry.\n%s" % e,
|
||||
f"Stable diffusion isnt running right now, sorry.\n{e}",
|
||||
)
|
||||
else:
|
||||
await ctx.respond("You can only do that in the stable-diffusion channel")
|
||||
|
Loading…
x
Reference in New Issue
Block a user