From 0adf54f96bbbfc73c570cbdd381b467cf7b6444e Mon Sep 17 00:00:00 2001 From: phixxy Date: Sun, 17 Mar 2024 15:12:35 -0700 Subject: [PATCH] bug fix in notify non-default prompt --- cogs/stable_diffusion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/stable_diffusion.py b/cogs/stable_diffusion.py index e573cb4..d54e724 100644 --- a/cogs/stable_diffusion.py +++ b/cogs/stable_diffusion.py @@ -300,7 +300,7 @@ class StableDiffusion(commands.Cog): key_value_pairs = self.get_kv_from_ctx(ctx) negative_prompt = self.get_negative_prompt() if negative_prompt != self.default_neg_prompt: - ctx.send(f"Using non-default negative prompt: {negative_prompt}") + await ctx.send(f"Using non-default negative prompt: {negative_prompt}") headers = {'Content-Type': 'application/json'} payload = { "prompt": prompt,