mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-28 16:07:02 +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
|
game=discord.Game(name="Embed your Discord server! Visit https://TitanEmbeds.tk/"), status=discord.Status.online
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
|
await database = DatabaseInterface(bot, 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()
|
||||||
|
Loading…
Reference in New Issue
Block a user