From 255aaccf20eca46040fd0b0a3797cfe4bb8ec373 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 11 Sep 2022 23:19:55 +1000 Subject: Primitive banned words blocking --- bundle/src/Server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bundle/src/Server.ts') diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts index 9cef9ed1..df29266d 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts @@ -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 } from "@fosscord/util"; +import { Config, initDatabase, BannedWords } from "@fosscord/util"; import * as Sentry from "@sentry/node"; import * as Tracing from "@sentry/tracing"; @@ -35,6 +35,7 @@ process.on('SIGTERM', () => { async function main() { await initDatabase(); await Config.init(); + await BannedWords.init(); // only set endpointPublic, if not already set await Config.set({ cdn: { -- cgit 1.5.1