mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 07:27:03 +01:00
Added commands I think
This commit is contained in:
parent
b62d43b21c
commit
493f6d24c6
@ -38,7 +38,7 @@ async def on_ready(self):
|
||||
game=discord.Game(name="Embed your Discord server! Visit https://TitanEmbeds.tk/"), status=discord.Status.online
|
||||
)
|
||||
try:
|
||||
database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
|
||||
await database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
|
||||
except Exception:
|
||||
self.logger.error("Unable to connect to specified database!")
|
||||
traceback.print_exc()
|
||||
|
Loading…
Reference in New Issue
Block a user