From b1b9cf7333dca01fd454fedc2b3d6e99066f53b8 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 12 Aug 2022 23:52:43 +0200 Subject: Add test plugin --- bundle/src/Server.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bundle/src') diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts index 3ed98b15..165ab121 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts @@ -10,6 +10,7 @@ import { green, bold, yellow } from "picocolors"; import { Config, getOrInitialiseDatabase } from "@fosscord/util"; import * as Sentry from "@sentry/node"; import * as Tracing from "@sentry/tracing"; +import { PluginLoader } from "@fosscord/util"; const app = express(); const server = http.createServer(); @@ -94,6 +95,7 @@ async function main() { }); } console.log(`[Server] ${green(`listening on port ${bold(port)}`)}`); + PluginLoader.loadPlugins(); } main().catch(console.error); -- cgit 1.5.1