From a238ab299a461872519f884acad218cd860bdc16 Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Sat, 23 Apr 2022 08:36:48 +0000 Subject: [PATCH] Initial commit --- index.json | 6 ++++++ main.js | 1 + preload.js | 1 + renderer.js | 9 +++++++++ 4 files changed, 17 insertions(+) create mode 100644 index.json create mode 100644 main.js create mode 100644 preload.js create mode 100644 renderer.js diff --git a/index.json b/index.json new file mode 100644 index 0000000..21efd02 --- /dev/null +++ b/index.json @@ -0,0 +1,6 @@ +{ + "name": "PluginTemplate", + "id": "plugin-template", + "description": "A template for future Kernel plugin development.", + "dependencies": [] +} \ No newline at end of file diff --git a/main.js b/main.js new file mode 100644 index 0000000..773f535 --- /dev/null +++ b/main.js @@ -0,0 +1 @@ +// Do stuff in the main context of discord. \ No newline at end of file diff --git a/preload.js b/preload.js new file mode 100644 index 0000000..76ba115 --- /dev/null +++ b/preload.js @@ -0,0 +1 @@ +// Do something in the preload of discord. \ No newline at end of file diff --git a/renderer.js b/renderer.js new file mode 100644 index 0000000..77b786e --- /dev/null +++ b/renderer.js @@ -0,0 +1,9 @@ +export default new class PluginTemplate { + start() { + console.log("Hello World!"); + } + + stop() { + console.log("Bye World!"); + } +} \ No newline at end of file