diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 18:45:42 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 18:45:42 +1100 |
commit | 444e81569018a71a1e50deef37419c4a2b10f3ef (patch) | |
tree | fefec776056da164b39f7165494b81e5667f41f8 /src/gateway | |
parent | Remove /api/-/monitorz (diff) | |
download | server-444e81569018a71a1e50deef37419c4a2b10f3ef.tar.xz |
Remove bad banned words implementation
Diffstat (limited to 'src/gateway')
-rw-r--r-- | src/gateway/Server.ts | 3 |
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}`); |