lunarflu HF Staff commited on
Commit
5710925
Β·
1 Parent(s): 3ad6f29

adding loading emoji <a:loading:1114111677990981692>

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -162,7 +162,7 @@ async def jojo(ctx):
162
  # bot no crash βœ…
163
  try:
164
  if await safetychecks(ctx): #βœ…
165
- await ctx.message.add_reaction('⏳')
166
  thread = await ctx.message.create_thread(name=f'{ctx.author} Jojo Thread')
167
  if ctx.message.attachments:
168
  await thread.send(f'{ctx.author.mention} Generating images in thread, can take ~1 minute...yare yare, daze ...')
@@ -175,17 +175,17 @@ async def jojo(ctx):
175
 
176
  #testing animated
177
  # <a:hugging_spin:1102656012621713488>
178
- await ctx.message.add_reaction('<a:hugging_spin:1102656012621713488>') # img + face
179
- await ctx.message.remove_reaction('⏳', bot.user)
180
  else: # no image
181
  await thread.send(f"{ctx.author.mention} No attachments to be found...Can't animify dat! Try sending me an image πŸ˜‰")
182
  await ctx.message.add_reaction('❌')
183
- await ctx.message.remove_reaction('⏳', bot.user)
184
  except Exception as e: # no generation / img + no face
185
  print(f"Error: {e}")
186
  await thread.send(f"{ctx.author.mention} Error: {e}")
187
  await ctx.message.add_reaction('❌')
188
- await ctx.message.remove_reaction('⏳', bot.user)
189
 
190
  #----------------------------------------------------------------------------------------------------------------------------------------------
191
  # Disney ❌
 
162
  # bot no crash βœ…
163
  try:
164
  if await safetychecks(ctx): #βœ…
165
+ await ctx.message.add_reaction('<a:loading:1114111677990981692>')
166
  thread = await ctx.message.create_thread(name=f'{ctx.author} Jojo Thread')
167
  if ctx.message.attachments:
168
  await thread.send(f'{ctx.author.mention} Generating images in thread, can take ~1 minute...yare yare, daze ...')
 
175
 
176
  #testing animated
177
  # <a:hugging_spin:1102656012621713488>
178
+ await ctx.message.add_reaction('βœ…') # img + face
179
+ await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
180
  else: # no image
181
  await thread.send(f"{ctx.author.mention} No attachments to be found...Can't animify dat! Try sending me an image πŸ˜‰")
182
  await ctx.message.add_reaction('❌')
183
+ await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
184
  except Exception as e: # no generation / img + no face
185
  print(f"Error: {e}")
186
  await thread.send(f"{ctx.author.mention} Error: {e}")
187
  await ctx.message.add_reaction('❌')
188
+ await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
189
 
190
  #----------------------------------------------------------------------------------------------------------------------------------------------
191
  # Disney ❌