-
-
Save dooderstem/c3f94395d88e81165ac6649883717b94 to your computer and use it in GitHub Desktop.
Plugin template for BetterDiscord v1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name ExamplePlugin | |
* @author YourName | |
* @description Describe the basic functions. Maybe a support server link. | |
* @version 0.0.1 | |
* @invite inviteCode | |
* @authorId 51512151151651 | |
* @authorLink https://twitter.com/Whoever | |
* @donate https://paypal.me/ | |
* @patreon https://patreon.com/ | |
* @website https://github.com/rauenzi/BetterDiscordApp | |
* @source https://gist.github.com/rauenzi/e5f4d02fc3085a53872b0236cd6f8225 | |
*/ | |
module.exports = class ExamplePlugin { | |
load() {} // Optional function. Called when the plugin is loaded in to memory | |
start() {} // Required function. Called when the plugin is activated (including after reloads) | |
stop() {} // Required function. Called when the plugin is deactivated | |
observer(changes) {} // Optional function. Observer for the `document`. Better documentation than I can provide is found here: <https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment