Updated Creating Plugins (markdown)
parent
04784e5e9e
commit
d0869755fe
|
@ -171,6 +171,24 @@ Deletes some saved data for plugin `pluginName` with key `key`.
|
|||
|
||||
***
|
||||
|
||||
#### `disableSetting(id)`
|
||||
Disables a BBD setting by id.
|
||||
|
||||
|Parameter|Type|Description|
|
||||
|-|-|:-|
|
||||
|`id`|string|Id for the setting.|
|
||||
|
||||
***
|
||||
|
||||
#### `enableSetting(id)`
|
||||
Enables a BBD setting by id.
|
||||
|
||||
|Parameter|Type|Description|
|
||||
|-|-|:-|
|
||||
|`id`|string|Id for the setting.|
|
||||
|
||||
***
|
||||
|
||||
#### `findModule(filter)`
|
||||
Searches for an internal Discord webpack module based on `filter`.
|
||||
|
||||
|
@ -415,6 +433,15 @@ Determines if the input is valid and parseable JSON.
|
|||
|
||||
***
|
||||
|
||||
#### `toggleSetting(id)`
|
||||
Toggles a BBD setting by id.
|
||||
|
||||
|Parameter|Type|Description|
|
||||
|-|-|:-|
|
||||
|`id`|string|Id for the setting.|
|
||||
|
||||
***
|
||||
|
||||
#### `unlinkJS(id)`
|
||||
Removes some previously linked JS by [`linkJS`](#linkjsid-url).
|
||||
|
||||
|
|
Loading…
Reference in New Issue