Skip to content

commands/census/main

/main command — registers a player’s primary character.

Creates a new Census record with status "Main", inserts the user into the Dkp table if they’re new (via insertUser), and assigns the “Probationary Member” role to first-time declarers.

Uses the shared declareData factory for its slash command definition.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/census/main.ts:23

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

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

ChatInputCommandInteraction

Promise<InteractionResponse<boolean> | undefined>