Essentials
Categories
What are Categories?
Discord-Dashboard allows you to create a two-tier system of options because you can divide them into categories. Therefore, all you need to do in the config Dashboard is to place a category object in the Array and Option objects for that option category in the Array.
What does Category Object looks like
CategoryObject
Option | Type | Description |
---|---|---|
categoryId | String | Category ID (must be lowercase and unique). |
categoryName | String | Category name. Can include HTML code. |
categoryDescription | String | Category description. Can include HTML code. |
categoryOptionsList | Array | An Array of the categoryOptionObject Objects. |
Other categories
Toggleable
CategoryObject
When using this you do not need to add the getActualSet and setNew functions to the categoryOptionObject
Refresh on save
CategoryObject
Was this page helpful?