commands/census/change
/change command — changes a character’s status (Main, Alt, Bot).
Enforces business rules: promoting to "Main" demotes existing mains to
"Alt", and demoting from "Main" is blocked if it’s the user’s only main.
Variables
Section titled “Variables”
constdata:SlashCommandOptionsOnlyBuilder
Defined in: commands/census/change.ts:25
Functions
Section titled “Functions”autocomplete()
Section titled “autocomplete()”autocomplete(
interaction):Promise<void>
Defined in: commands/census/change.ts:44
Parameters
Section titled “Parameters”interaction
Section titled “interaction”AutocompleteInteraction
Returns
Section titled “Returns”Promise<void>
execute()
Section titled “execute()”execute(
interaction):Promise<InteractionResponse<boolean> |undefined>
Defined in: commands/census/change.ts:67
Parameters
Section titled “Parameters”interaction
Section titled “interaction”ChatInputCommandInteraction
Returns
Section titled “Returns”Promise<InteractionResponse<boolean> | undefined>