This snippet contains some of the most used/repeated lines and blocks used to configure DBD.
It was made to ease up the process of creating the dashboard configuration.
Requirements
VSCode + DBD node module installed
Usage
You just need to type the following to access the specific Snippet
Dashboard Setup
Snippet
Description
dbd-dash
Create a basic discord dashboard config without a theme
dbd-dash-soft-ui
Create a basic discord dashboard config with the Soft-UI theme installed
Category Setup
Snippet
Description
dbd-cat
Create a basic settings category
dbd-cat-toggable
Create a basic settings category which is toggable in the UI
dbd-cat-refresh
Create a basic settings category which refreshes all values when you save
Category Options
Snippet
Description
dbd-opt
Create a basic optionSetting template
dbd-opt-allowed
Create a basic optionSetting template which must meet requirements to be able to be modified by the user
FormTypes (only creates the optionType line. For full options see below.)
Snippet
Description
dbd-ft-select
Creates a select optionType
dbd-ft-multiselect
Creates a multiSelect optionType
dbd-ft-input
Creates a input optionType
dbd-ft-textarea
Creates a textArea optionType
dbd-ft-colorselect
Creates a colorSelect optionType
dbd-ft-embedbuilder
Creates a embedBuilder optionType
dbd-ft-spacer
Creates a spacer optionType
dbd-ft-switch
Creates a switch optionType
dbd-ft-checkbox
Creates a checkbox optionType
dbd-ft-channelselect
Creates a channelSelect optionType
dbd-ft-channelmultiselect
Creates a channelMultiSelect optionType
dbd-ft-roleselect
Creates a roleSelect optionType
dbd-ft-rolemultiselect
Creates a roleMultiSelect optionType
dbd-ft-date
Creates a date optionType
dbd-ft-numberpicker
Creates a numberPicker optionType
dbd-ft-slider
Creates a slider optionType
dbd-ft-taginput
Creates a tagInput optionType
Full Options
Snippet
Description
dbd-select
Creates a select categoryOption
dbd-multiselect
Creates a multiSelect categoryOption
dbd-input
Creates a input categoryOption
dbd-textarea
Creates a textArea categoryOption
dbd-colorselect
Creates a colorSelect categoryOption
dbd-embedbuilder
Creates a embedBuilder categoryOption
dbd-spacer
Creates a spacer categoryOption
dbd-switch
Creates a switch categoryOption
dbd-checkbox
Creates a checkbox categoryOption
dbd-channelselect
Creates a channelSelect categoryOption
dbd-channelmultiselect
Creates a channelMultiSelect categoryOption
dbd-roleselect
Creates a roleSelect categoryOption
dbd-rolemultiselect
Creates a roleMultiSelect categoryOption
dbd-date
Creates a date categoryOption
dbd-numberpicker
Creates a numberPicker categoryOption
dbd-slider
Creates a slider categoryOption
dbd-taginput
Creates a tagInput categoryOption
Known Issues
None
Release Notes
0.0.5-alpha
Replace code in getActual and setNew functions with comments
Added "," to categoryOptions so no errors exist in config