adding loading emoji <a:loading:1114111677990981692>
Browse files
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('
|
179 |
-
await ctx.message.remove_reaction('
|
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('
|
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('
|
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 β
|