mirror of
https://github.com/smartfrigde/smartfrigde.github.io.git
synced 2024-08-14 22:46:45 +00:00
Add files via upload
This commit is contained in:
parent
ac50a2ce45
commit
16da6198ae
4 changed files with 34 additions and 0 deletions
4
store/README.md
Normal file
4
store/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# SmartCord Plugin Store (2.0 only)
|
||||
This repository is used by SmartCord built-in plugin store.
|
||||
Feel free to fork the template found here (link soon).
|
||||
This repository has various plugins on various licenses, if you would like to add your plugin here make a pull request!
|
|
@ -1 +1,10 @@
|
|||
|
||||
{"main": {
|
||||
"name": "SmartCord Store",
|
||||
"value": "File",
|
||||
"store": {
|
||||
"plugin": [
|
||||
{"name": "testPlugin", "manifest": "/plugins/testPlugin/manifest.json"},
|
||||
]
|
||||
}
|
||||
}}
|
||||
|
|
1
store/plugins/testPlugin/manifest.json
Normal file
1
store/plugins/testPlugin/manifest.json
Normal file
|
@ -0,0 +1 @@
|
|||
|
20
store/plugins/testPlugin/testPlugin.js
Normal file
20
store/plugins/testPlugin/testPlugin.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
const Plugin = require("../core/plugin");
|
||||
|
||||
module.exports = new Plugin({
|
||||
name: "testPlugin idk" /* Human-readable plugin name. */,
|
||||
author:
|
||||
"smartbitch" /* [Optional] Put your name here to give yourself credit for making it :) */,
|
||||
description:
|
||||
"2.0 testing be is deprresion lol" /* Description of what this plugin does. */,
|
||||
preload: false /* [Optional] If true, load this before Discord has finished starting up */,
|
||||
color:
|
||||
"#666" /* [Optional] The color that this plugin shows in logs and in the plugin settings tab. Any valid CSS color will work here. */,
|
||||
disabledByDefault: false /* [Optional] If true, disable the plugin until the user enables it in settings */,
|
||||
load: function () {
|
||||
/* What your plugin does when Discord is loaded, or when the plugin is reloaded. */
|
||||
},
|
||||
unload: function () {
|
||||
/* What your plugin does when it is disabled or being reloaded. */
|
||||
},
|
||||
});
|
Loading…
Reference in a new issue