diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-12 23:52:43 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-13 21:57:51 +0200 |
commit | b1b9cf7333dca01fd454fedc2b3d6e99066f53b8 (patch) | |
tree | 3adfd115cddc39af6e35a94084cccab065555c29 /bundle/src/Server.ts | |
parent | Add template plugin base (diff) | |
download | server-b1b9cf7333dca01fd454fedc2b3d6e99066f53b8.tar.xz |
Add test plugin
Diffstat (limited to 'bundle/src/Server.ts')
-rw-r--r-- | bundle/src/Server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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); |