Skip to content

commands/utility/roles

/roles command — officer tool for managing the self-assignable role system.

Subcommands:

  • add — creates a new Discord role and registers it as self-assignable
  • remove — deletes a self-assignable role from both Discord and the database
  • list — displays all currently registered self-assignable roles

Requires ManageRoles permission.

const data: SlashCommandSubcommandsOnlyBuilder

Defined in: commands/utility/roles.ts:26

autocomplete(interaction): Promise<void>

Defined in: commands/utility/roles.ts:75

AutocompleteInteraction

Promise<void>


execute(interaction): Promise<void>

Defined in: commands/utility/roles.ts:99

ChatInputCommandInteraction

Promise<void>