fixing check for channel name
This commit is contained in:
parent
1d1d0ab953
commit
40897fe755
@ -30,7 +30,7 @@ class StableDiffusion(commands.Cog):
|
|||||||
self, ctx: commands.Context, positive_prompt: str, negative_prompt: str
|
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 socket
|
||||||
import stable_diffusion
|
import stable_diffusion
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user