Initial commit
This commit is contained in:
commit
a238ab299a
4 changed files with 17 additions and 0 deletions
6
index.json
Normal file
6
index.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "PluginTemplate",
|
||||||
|
"id": "plugin-template",
|
||||||
|
"description": "A template for future Kernel plugin development.",
|
||||||
|
"dependencies": []
|
||||||
|
}
|
1
main.js
Normal file
1
main.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
// Do stuff in the main context of discord.
|
1
preload.js
Normal file
1
preload.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
// Do something in the preload of discord.
|
9
renderer.js
Normal file
9
renderer.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
export default new class PluginTemplate {
|
||||||
|
start() {
|
||||||
|
console.log("Hello World!");
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
console.log("Bye World!");
|
||||||
|
}
|
||||||
|
}
|
Reference in a new issue