summary refs log tree commit diff
path: root/src/plugins/example-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/example-plugin')
-rw-r--r--src/plugins/example-plugin/ExamplePlugin.ts7
-rw-r--r--src/plugins/example-plugin/plugin.json10
2 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/example-plugin/ExamplePlugin.ts b/src/plugins/example-plugin/ExamplePlugin.ts
new file mode 100644

index 00000000..e6f70657 --- /dev/null +++ b/src/plugins/example-plugin/ExamplePlugin.ts
@@ -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!!!!!!!"); + } +} \ No newline at end of file diff --git a/src/plugins/example-plugin/plugin.json b/src/plugins/example-plugin/plugin.json new file mode 100644
index 00000000..2fcb7a00 --- /dev/null +++ b/src/plugins/example-plugin/plugin.json
@@ -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" +}