fix
Browse files
app.py
CHANGED
@@ -46,11 +46,7 @@ async def on_ready():
|
|
46 |
@bot.command()
|
47 |
async def deepfloydif(ctx, *, prompt: str):
|
48 |
try:
|
49 |
-
try:
|
50 |
-
channelcheck = bot.get_channel(channel_id)
|
51 |
-
if channelcheck != 1100458786826747945: # bot-test
|
52 |
-
return
|
53 |
-
|
54 |
await ctx.message.add_reaction('π')
|
55 |
thread = await ctx.message.create_thread(name=f'{ctx.author} Image Upscaling Thread ')
|
56 |
# create thread -> send new message inside thread + combined_image -> add reactions -> dfif2
|
|
|
46 |
@bot.command()
|
47 |
async def deepfloydif(ctx, *, prompt: str):
|
48 |
try:
|
49 |
+
try:
|
|
|
|
|
|
|
|
|
50 |
await ctx.message.add_reaction('π')
|
51 |
thread = await ctx.message.create_thread(name=f'{ctx.author} Image Upscaling Thread ')
|
52 |
# create thread -> send new message inside thread + combined_image -> add reactions -> dfif2
|