commands/utility/remove
/remove command — removes a self-assigned role from the invoker.
Autocomplete only shows self-assignable roles that the user currently has.
Counterpart to the /add command.
Variables
Section titled “Variables”
constdata:SlashCommandOptionsOnlyBuilder
Defined in: commands/utility/remove.ts:20
Functions
Section titled “Functions”autocomplete()
Section titled “autocomplete()”autocomplete(
interaction):Promise<void>
Defined in: commands/utility/remove.ts:31
Parameters
Section titled “Parameters”interaction
Section titled “interaction”AutocompleteInteraction
Returns
Section titled “Returns”Promise<void>
execute()
Section titled “execute()”execute(
interaction):Promise<void>
Defined in: commands/utility/remove.ts:60
Parameters
Section titled “Parameters”interaction
Section titled “interaction”ChatInputCommandInteraction
Returns
Section titled “Returns”Promise<void>