Skip to content

commands/census/alt

/alt command — registers an alternate character for an existing member.

Validates the user already exists in Dkp (must have a main first), then creates a new Census record with status "Alt".

Uses the shared declareData factory for its slash command definition.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/census/alt.ts:22

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

Defined in: commands/census/alt.ts:24

ChatInputCommandInteraction

Promise<InteractionResponse<boolean> | undefined>