summary refs log tree commit diff
path: root/src/gateway/Server.ts
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
commit444e81569018a71a1e50deef37419c4a2b10f3ef (patch)
treefefec776056da164b39f7165494b81e5667f41f8 /src/gateway/Server.ts
parentRemove /api/-/monitorz (diff)
downloadserver-444e81569018a71a1e50deef37419c4a2b10f3ef.tar.xz
Remove bad banned words implementation
Diffstat (limited to 'src/gateway/Server.ts')
-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}`);