summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 18:45:42 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 18:45:42 +1100
commit77fa7ac886ac96ab02a014b64fb155250599a790 (patch)
tree27598093285dc1379d1822c0f279914372570b71 /src/gateway
parentRemove /api/-/monitorz (diff)
downloadserver-77fa7ac886ac96ab02a014b64fb155250599a790.tar.xz
Remove bad banned words implementation
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/Server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gateway/Server.ts b/src/gateway/Server.ts
index 8c416b92..7e1489be 100644
--- a/src/gateway/Server.ts
+++ b/src/gateway/Server.ts
@@ -1,7 +1,7 @@
 import "missing-native-js-functions";
 import dotenv from "dotenv";
 dotenv.config();
-import { BannedWords, closeDatabase, Config, initDatabase, initEvent } from "@fosscord/util";
+import { closeDatabase, Config, initDatabase, initEvent } from "@fosscord/util";
 import ws from "ws";
 import { Connection } from "./events/Connection";
 import http from "http";
@@ -50,7 +50,6 @@ export class Server {
 		await initDatabase();
 		await Config.init();
 		await initEvent();
-		await BannedWords.init();
 		if (!this.server.listening) {
 			this.server.listen(this.port);
 			console.log(`[Gateway] online on 0.0.0.0:${this.port}`);