mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 23:47:02 +01:00
Added commands I think
This commit is contained in:
parent
bb13c79e75
commit
038fa70e3e
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user