mirror of
https://github.com/nx-bat/synapse.git
synced 2026-09-22 08:29:06 -04:00
(database): actually init the db.
This commit is contained in:
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
import { CommandClient, Constants } from "athena-prime";
|
import { CommandClient, Constants } from "athena-prime";
|
||||||
import events from "./events";
|
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));
|
events.forEach(event => client.registerEvent(event));
|
||||||
|
|
||||||
|
await database.init();
|
||||||
client.connect();
|
client.connect();
|
||||||
|
|||||||
Reference in New Issue
Block a user