Changed unicode encoding in mysql, it is being lazy with 3 chars not 4

This commit is contained in:
Jeremy Zhang 2017-05-27 10:50:52 -07:00
parent d90cd64b0f
commit 5cb224e20c

View File

@ -56,7 +56,7 @@ class Titan(discord.Client):
)
try:
await self.database.connect(config["database-uri"] + "?charset=utf8")
await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
except Exception:
self.logger.error("Unable to connect to specified database!")
traceback.print_exc()