From df9a83eafda2534b5b36caa03de6a8ec0cb530ce Mon Sep 17 00:00:00 2001 From: Luke R Date: Wed, 5 Mar 2025 21:00:44 -0800 Subject: [PATCH] Remove the server block from stable diffusion command i guess --- app/cogs/stable_diffusion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cogs/stable_diffusion.py b/app/cogs/stable_diffusion.py index b47103ca..f44d4e3c 100755 --- a/app/cogs/stable_diffusion.py +++ b/app/cogs/stable_diffusion.py @@ -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")