Skip to content

commands/utility/add

/add command — self-assigns a role from the SelfRoles list.

Members can browse available self-assignable roles via autocomplete and add them to themselves. Only roles registered in the self_roles table are available.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/utility/add.ts:21

autocomplete(interaction): Promise<void>

Defined in: commands/utility/add.ts:28

AutocompleteInteraction

Promise<void>


execute(interaction): Promise<void>

Defined in: commands/utility/add.ts:52

ChatInputCommandInteraction

Promise<void>