Skip to content

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.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/census/change.ts:25

autocomplete(interaction): Promise<void>

Defined in: commands/census/change.ts:44

AutocompleteInteraction

Promise<void>


execute(interaction): Promise<InteractionResponse<boolean> | undefined>

Defined in: commands/census/change.ts:67

ChatInputCommandInteraction

Promise<InteractionResponse<boolean> | undefined>