[demo] file >>> url
Browse files
app.py
CHANGED
@@ -117,9 +117,10 @@ async def demo(ctx):
|
|
117 |
try:
|
118 |
# https://cdn.discordapp.com/attachments/932563860597121054/1113483403258499142/image.png
|
119 |
#jojofile =
|
120 |
-
deepfloydfile = 'https://cdn.discordapp.com/attachments/932563860597121054/1113483403258499142/image.png'
|
121 |
thread = await ctx.message.create_thread(name=f'{ctx.author} Demo Thread')
|
122 |
-
await thread.send(f'{ctx.author.mention}Here is a demo for the !deepfloydif command!'
|
|
|
|
|
123 |
except Exception as e:
|
124 |
print(f"Error: {e}")
|
125 |
await ctx.message.add_reaction('❌')
|
|
|
117 |
try:
|
118 |
# https://cdn.discordapp.com/attachments/932563860597121054/1113483403258499142/image.png
|
119 |
#jojofile =
|
|
|
120 |
thread = await ctx.message.create_thread(name=f'{ctx.author} Demo Thread')
|
121 |
+
await thread.send(f'{ctx.author.mention}Here is a demo for the !deepfloydif command!')
|
122 |
+
await asyncio.sleep(0.5)
|
123 |
+
await thread.send(f'https://cdn.discordapp.com/attachments/932563860597121054/1113483403258499142/image.png')
|
124 |
except Exception as e:
|
125 |
print(f"Error: {e}")
|
126 |
await ctx.message.add_reaction('❌')
|