update
This commit is contained in:
@@ -32,6 +32,7 @@ class DaemonBoyfriend(commands.Bot):
|
|||||||
# Initialize database if configured
|
# Initialize database if configured
|
||||||
if db.is_configured:
|
if db.is_configured:
|
||||||
await db.init()
|
await db.init()
|
||||||
|
await db.create_tables()
|
||||||
logger.info("Database initialized")
|
logger.info("Database initialized")
|
||||||
else:
|
else:
|
||||||
logger.info("Database not configured, using in-memory storage")
|
logger.info("Database not configured, using in-memory storage")
|
||||||
|
|||||||
Reference in New Issue
Block a user