mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 10:42:34 +00:00
Remove bad banned words implementation
This commit is contained in:
1 parent
d1c90c8c09
commit
444e815690
9 files changed
+5
-60
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user