mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Add a playing game msg to cleanup bot script
This commit is contained in:
		@@ -61,6 +61,9 @@ class Titan(discord.AutoShardedClient):
 | 
				
			|||||||
        print(self.user.id)
 | 
					        print(self.user.id)
 | 
				
			||||||
        print('------')
 | 
					        print('------')
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        game = discord.Game(name="Titan is currently down for database maintenances. Bookmark https://TitanEmbeds.com/ for later access to our services!")
 | 
				
			||||||
 | 
					        await self.change_presence(status=discord.Status.do_not_disturb, activity=game)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            await self.database.connect(config["database-uri"])
 | 
					            await self.database.connect(config["database-uri"])
 | 
				
			||||||
        except Exception:
 | 
					        except Exception:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user