Edit the original message for /sd if the connection fails, this will reduce clutter in the channel
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
780fbc13fe
commit
aee2fa2087
@ -79,7 +79,7 @@ class StableDiffusion(commands.Cog):
|
|||||||
)
|
)
|
||||||
os.remove(file_path)
|
os.remove(file_path)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await ctx.respond(
|
await original_message.edit(
|
||||||
"Stable diffusion isnt running right now, sorry.\n%s" % e,
|
"Stable diffusion isnt running right now, sorry.\n%s" % e,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user