summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 16:47:52 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-12 16:47:52 +0200
commit421cf4c3db9a2810285b123dfd82f116f81d0fa7 (patch)
tree288d33739c2a947522fbb69a320aa4d3c5cbec2b /src/Server.ts
parent:bug: fix voicestate (diff)
downloadserver-421cf4c3db9a2810285b123dfd82f116f81d0fa7.tar.xz
:sparkles: rabbitmq
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 06cd74de..d4b3271c 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -1,7 +1,7 @@ import "missing-native-js-functions"; import dotenv from "dotenv"; dotenv.config(); -import { Config, db } from "@fosscord/server-util"; +import { Config, db, RabbitMQ } from "@fosscord/server-util"; import { Server as WebSocketServer } from "ws"; import { Connection } from "./events/Connection"; import http from "http"; @@ -40,6 +40,7 @@ export class Server { await (db as Promise<Connection>); await this.setupSchema(); await Config.init(); + await RabbitMQ.init(); console.log("[Database] connected"); if (!this.server.listening) { this.server.listen(this.port);