mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Changed unicode encoding in mysql, it is being lazy with 3 chars not 4
This commit is contained in:
		@@ -56,7 +56,7 @@ class Titan(discord.Client):
 | 
				
			|||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            await self.database.connect(config["database-uri"] + "?charset=utf8")
 | 
					            await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
 | 
				
			||||||
        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