mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-04 20:25:25 +02:00
Inital postgresql implementation (#46)
This commit is contained in:
committed by
GitHub
parent
3a503c9bcb
commit
aa9075f484
@ -84,7 +84,7 @@ class Titan(discord.Client):
|
||||
)
|
||||
|
||||
try:
|
||||
await self.database.connect(config["database-uri"] + "?charset=utf8mb4")
|
||||
await self.database.connect(config["database-uri"])
|
||||
self.database_connected = True
|
||||
except Exception:
|
||||
self.logger.error("Unable to connect to specified database!")
|
||||
|
Reference in New Issue
Block a user