Role Option

The role option allows the command user to select a role to send in the interaction. This can be used to apply roles to users, etc.

Role Option Config

Each option block comes with a set of options for you to configure. These are the following:

LabelTypeDetails

Name

String

The name for the option. This name determines the ending value for the option variable: {option_optionName}.

Description

String

A description for the option. This will be displayed when the user has the option active / focused while running the command.

Required

Boolean

A true of false Boolean to set the option to required. If required the command executor will need to provide a value for this option.

Last updated