ODJsonConfig_DefaultOptionRoleType interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This interface is an object which has all reaction role properties for options in the options.json config!
References
Properties
addOnMemberJoin boolean ➜ boolean
Automatically add these roles when the user joins the server.
button interface ➜ api.ODJsonConfig_DefaultOptionButtonSettingsType
All settings related to the button for the 3 option types.
inherited description string ➜ string
The description of this option.
inherited id string ➜ string
The id of this option.
mode type ➜ api.ODRoleUpdateMode
The mode determines what will happen with the affected roles on the user.
inherited name string ➜ string
The name of this option.
removeRolesOnAdd array ➜ string[]
A list of roles to remove from the user when given at least one of the affected roles.
roles array ➜ string[]
All roles which will be affected by this button.
type type ➜ "role"
The type of this option. This type also determines the other option-specific variables.