Skip to content

commands/census/assign

/assign command — officer tool to create and assign a character to any Discord user.

Requires ManageGuild permission. Creates a new Census record for the specified user. If the user is new, automatically inserts them into Dkp and forces the first character to "Main" status.

const data: SlashCommandOptionsOnlyBuilder

Defined in: commands/census/assign.ts:41


const permissions: "ManageGuild" = 'ManageGuild'

Defined in: commands/census/assign.ts:28

autocomplete(interaction): Promise<void>

Defined in: commands/census/assign.ts:79

AutocompleteInteraction

Promise<void>


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

Defined in: commands/census/assign.ts:100

ChatInputCommandInteraction

Promise<InteractionResponse<boolean> | undefined>


getActiveStatuses(): Promise<Status[]>

Defined in: commands/census/assign.ts:30

Promise<Status[]>


statusMustBeActive(inputStatus): Promise<Status>

Defined in: commands/census/assign.ts:35

string

Promise<Status>