fixing check for channel name

This commit is contained in:
Luke Robles 2023-01-10 11:23:18 -08:00
parent 1d1d0ab953
commit 40897fe755

View File

@ -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