A select widget that supports roles as options.
Default roles to preselect.
An optional description for the Widget. Displayed on Discord.
How tall this widget is, in grid cells.
The widget's unique ID on Discord, defaulting to a UUID.
The Widget's label, displayed on Discord.
The maximum number of items that can be chosen. Default: 1.
The minimum number of items that must be chosen. Default: 1.
Placeholder text if nothing is selected, to be shown to the user on Discord.
Whether this widget must be filled out for the form to be valid.
The final value stored in this widget, as provided by the user.
How wide this widget is, in grid cells.
Function called to apply this widget to a Discord action row.
Apply the role select menu to an action row builder.
Add default pre-selected roles to the selector.
Get the associated Koin instance.
Function called to ensure that this widget was set up correctly.