From 16da6198aecca6ca7bfa6d24794695ba7ba00911 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Fri, 30 Apr 2021 16:50:11 +0200 Subject: [PATCH] Add files via upload --- store/README.md | 4 ++++ store/main.json | 9 +++++++++ store/plugins/testPlugin/manifest.json | 1 + store/plugins/testPlugin/testPlugin.js | 20 ++++++++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 store/README.md create mode 100644 store/plugins/testPlugin/manifest.json create mode 100644 store/plugins/testPlugin/testPlugin.js diff --git a/store/README.md b/store/README.md new file mode 100644 index 0000000..3efde15 --- /dev/null +++ b/store/README.md @@ -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! diff --git a/store/main.json b/store/main.json index 8b13789..1409af1 100644 --- a/store/main.json +++ b/store/main.json @@ -1 +1,10 @@ +{"main": { + "name": "SmartCord Store", + "value": "File", + "store": { + "plugin": [ + {"name": "testPlugin", "manifest": "/plugins/testPlugin/manifest.json"}, + ] + } +}} diff --git a/store/plugins/testPlugin/manifest.json b/store/plugins/testPlugin/manifest.json new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/store/plugins/testPlugin/manifest.json @@ -0,0 +1 @@ + diff --git a/store/plugins/testPlugin/testPlugin.js b/store/plugins/testPlugin/testPlugin.js new file mode 100644 index 0000000..7f26d20 --- /dev/null +++ b/store/plugins/testPlugin/testPlugin.js @@ -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. */ + }, +});