Updated Creating Plugins (markdown)
parent
59807dfacf
commit
23eb65bc00
|
@ -5,7 +5,7 @@
|
|||
3. Plugin files require a special header ([[see this page for details|Plugin-and-Theme-METAs]])
|
||||
4. The name defined in the header must match the variable/classname
|
||||
5. Plugins must implement the [following functions](#required-functions): `getName`, `getDescription`, `getVersion`, `getAuthor`, `start` and `stop`.
|
||||
Optionally, you may implement `load` and `observer`. More details on each function below.
|
||||
Optionally, you may implement `getSettingsPanel`, `load`, `observer`, and `onSwitch`. More details on each function below.
|
||||
6. Plugins can make use of the [`BdApi`](#bdapi) object described [below](#bdapi).
|
||||
7. Plugins can make use of any node modules or Discord modules (through webpack).
|
||||
|
||||
|
|
Loading…
Reference in New Issue