From 40897fe755b52ca595324e96b05c47ee7ddd06d0 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Tue, 10 Jan 2023 11:23:18 -0800 Subject: [PATCH] fixing check for channel name --- app/cogs/stable_diffusion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cogs/stable_diffusion.py b/app/cogs/stable_diffusion.py index 36593b31..4209ae1e 100644 --- a/app/cogs/stable_diffusion.py +++ b/app/cogs/stable_diffusion.py @@ -30,7 +30,7 @@ class StableDiffusion(commands.Cog): self, ctx: commands.Context, positive_prompt: str, negative_prompt: str ): - if ctx.channel.name == "stable-diffusion" or "bot-testing": + if ctx.channel.name == "stable-diffusion" or ctx.channel.name == "bot-testing": import socket import stable_diffusion