loading gif
This commit is contained in:
		
							parent
							
								
									11e2fdf9c1
								
							
						
					
					
						commit
						36323f7fcc
					
				| @ -103,8 +103,16 @@ class Chatter: | ||||
|             return | ||||
|              | ||||
|         await ctx.send("Gather successful! Training begins now\n(**This will take a long time, be patient**)") | ||||
|         embed=discord.Embed(title="Loading") | ||||
|         embed.set_image("http://www.loop.universaleverything.com/animations/1295.gif") | ||||
|         temp_message = await self.bot.say(embed=embed) | ||||
|         future = await self.loop.run_in_executor(None, self._train, conversation) | ||||
|          | ||||
|         try: | ||||
|             await temp_message.delete() | ||||
|         except: | ||||
|             pass | ||||
|          | ||||
|         if future: | ||||
|             await ctx.send("Training successful!") | ||||
|         else: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bobloy
						Bobloy