(database): actually init the db.

This commit is contained in:
2026-08-28 01:14:52 +08:00
parent f955a6c910
commit a80b7b67ea
+2 -1
View File
@@ -1,6 +1,6 @@
import { CommandClient, Constants } from "athena-prime";
import events from "./events";
import tasks from "./tasks";
import { database } from "./utils";
// ----------
@@ -19,4 +19,5 @@ const client = new CommandClient({
events.forEach(event => client.registerEvent(event));
await database.init();
client.connect();