mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-03 19:55:22 +02:00
Added commands I think
This commit is contained in:
@ -39,6 +39,7 @@ async def on_ready():
|
|||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
|
database = DatabaseInterface(bot, config["database-uri"] + "?charset=utf8mb4")
|
||||||
|
global database
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.error("Unable to connect to specified database!")
|
logger.error("Unable to connect to specified database!")
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Reference in New Issue
Block a user