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.
Variables
Section titled “Variables”
constdata:SlashCommandOptionsOnlyBuilder
Defined in: commands/census/alt.ts:22
Functions
Section titled “Functions”execute()
Section titled “execute()”execute(
interaction):Promise<InteractionResponse<boolean> |undefined>
Defined in: commands/census/alt.ts:24
Parameters
Section titled “Parameters”interaction
Section titled “interaction”ChatInputCommandInteraction
Returns
Section titled “Returns”Promise<InteractionResponse<boolean> | undefined>