lunarflu HF Staff commited on
Commit
00a4c25
·
1 Parent(s): 3335556

added [sketchdemo] and [spideydemo]

Browse files
Files changed (1) hide show
  1. app.py +30 -2
app.py CHANGED
@@ -139,13 +139,41 @@ async def deepfloydifdemo(ctx):
139
  @bot.command()
140
  async def jojodemo(ctx):
141
  try:
142
- thread = await ctx.message.create_thread(name=f'{ctx.author} Demo Thread')
143
  await thread.send(f'{ctx.author.mention} Here is a demo for the !jojo command!')
144
  await asyncio.sleep(0.5)
145
- await thread.send(f'https://cdn.discordapp.com/attachments/932563860597121054/1113492260294770778/image.png')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  except Exception as e:
147
  print(f"Error: {e}")
148
  await ctx.message.add_reaction('<:disagree:1098628957521313892>')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  #----------------------------------------------------------------------------------------------------------------------------------------------
150
  # jojo ✅
151
  @bot.command()
 
139
  @bot.command()
140
  async def jojodemo(ctx):
141
  try:
142
+ thread = await ctx.message.create_thread(name=f'JoJo Demo {ctx.author} ')
143
  await thread.send(f'{ctx.author.mention} Here is a demo for the !jojo command!')
144
  await asyncio.sleep(0.5)
145
+ await thread.send(f'https://cdn.discordapp.com/attachments/932563860597121054/1114220616199966810/image.png')
146
+ await thread.edit(archived=True)
147
+ except Exception as e:
148
+ print(f"Error: {e}")
149
+ await ctx.message.add_reaction('<:disagree:1098628957521313892>')
150
+ await thread.edit(archived=True)
151
+ #----------------------------------------------------------------------------------------------------------------------------------------------
152
+ @bot.command()
153
+ async def sketchdemo(ctx):
154
+ try:
155
+ thread = await ctx.message.create_thread(name=f'Sketch Demo {ctx.author} ')
156
+ await thread.send(f'{ctx.author.mention} Here is a demo for the !sketch command!')
157
+ await asyncio.sleep(0.5)
158
+ await thread.send(f'https://cdn.discordapp.com/attachments/932563860597121054/1114220716498370641/image.png')
159
+ await thread.edit(archived=True)
160
  except Exception as e:
161
  print(f"Error: {e}")
162
  await ctx.message.add_reaction('<:disagree:1098628957521313892>')
163
+ await thread.edit(archived=True)
164
+ #----------------------------------------------------------------------------------------------------------------------------------------------
165
+ @bot.command()
166
+ async def spideydemo(ctx):
167
+ try:
168
+ thread = await ctx.message.create_thread(name=f'Spidey Demo {ctx.author} ')
169
+ await thread.send(f'{ctx.author.mention} Here is a demo for the !spidey command!')
170
+ await asyncio.sleep(0.5)
171
+ await thread.send(f'https://cdn.discordapp.com/attachments/932563860597121054/1114220798085959690/image.png')
172
+ await thread.edit(archived=True)
173
+ except Exception as e:
174
+ print(f"Error: {e}")
175
+ await ctx.message.add_reaction('<:disagree:1098628957521313892>')
176
+ await thread.edit(archived=True)
177
  #----------------------------------------------------------------------------------------------------------------------------------------------
178
  # jojo ✅
179
  @bot.command()