scope SD to just my servers
This commit is contained in:
parent
b1c30719d6
commit
2b5a90770a
@ -11,7 +11,7 @@ class StableDiffusion(commands.Cog):
|
||||
|
||||
@commands.has_role("stable-diffuser")
|
||||
@commands.slash_command(
|
||||
# guild_ids=core_utils.my_guilds,
|
||||
guild_ids=core_utils.my_guilds,
|
||||
guild_ids=None,
|
||||
name="sd",
|
||||
description="Pass a prompt and optional negative prompt to stable diffusion",
|
||||
@ -31,8 +31,7 @@ class StableDiffusion(commands.Cog):
|
||||
self, ctx: commands.Context, positive_prompt: str, negative_prompt: str
|
||||
):
|
||||
|
||||
if True:
|
||||
# if ctx.channel.name == "stable-diffusion":
|
||||
if ctx.channel.name == "stable-diffusion":
|
||||
import socket
|
||||
import stable_diffusion
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user