mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Remove mysql specific utf config to discordbot utilities files
This commit is contained in:
		@@ -61,7 +61,7 @@ class Titan(discord.Client):
 | 
				
			|||||||
        print('------')
 | 
					        print('------')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
 | 
					            await self.database.connect(config["database-uri"])
 | 
				
			||||||
        except Exception:
 | 
					        except Exception:
 | 
				
			||||||
            self.logger.error("Unable to connect to specified database!")
 | 
					            self.logger.error("Unable to connect to specified database!")
 | 
				
			||||||
            traceback.print_exc()
 | 
					            traceback.print_exc()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -60,7 +60,7 @@ class Titan(discord.Client):
 | 
				
			|||||||
        print('------')
 | 
					        print('------')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
 | 
					            await self.database.connect(config["database-uri"])
 | 
				
			||||||
        except Exception:
 | 
					        except Exception:
 | 
				
			||||||
            self.logger.error("Unable to connect to specified database!")
 | 
					            self.logger.error("Unable to connect to specified database!")
 | 
				
			||||||
            traceback.print_exc()
 | 
					            traceback.print_exc()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user