Update plugin loading, update example plugin, add ci task for testing if builds work

This commit is contained in:
TheArcaneBrony
2022-08-13 08:54:50 +02:00
committed by Rory&
parent fe8aa0b8c8
commit 0e363e58df
9 changed files with 178 additions and 6 deletions
@@ -0,0 +1,7 @@
import { Plugin } from "@fosscord/util";
export default class TestPlugin extends Plugin {
onPluginLoaded(): void {
console.log("Hello from test plugin! IT WORKS!!!!!!!");
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"id": "example-plugin",
"name": "Fosscord example plugin",
"authors": [
"The Arcane Brony"
],
"repository": "https://github.com/fosscord/fosscord-server",
"license": "",
"index": "ExamplePlugin.js"
}