Remove bad banned words implementation

This commit is contained in:
Madeline committed 2022-12-17 18:45:42 +11:00
1 parent d1c90c8c09
commit 444e815690
9 files changed
+5 -60

No files matched your search

+1 -2
View File
@@ -7,7 +7,7 @@ import * as Gateway from "@fosscord/gateway";
import { CDNServer } from "@fosscord/cdn";
import express from "express";
import { green, bold, yellow } from "picocolors";
import { Config, initDatabase, BannedWords } from "@fosscord/util";
import { Config, initDatabase } from "@fosscord/util";
import * as Sentry from "@sentry/node";
import * as Tracing from "@sentry/tracing";
import * as Integrations from "@sentry/integrations";
@@ -30,7 +30,6 @@ process.on("SIGTERM", async () => {
async function main() {
await initDatabase();
await Config.init();
await BannedWords.init();
//Sentry
if (Config.get().sentry.enabled) {