commands/dkp/attendance
/attendance command — records raid attendance from pasted /who logs.
Flow: officer selects a raid (autocomplete from Raids table) ->
modal opens for pasting /who output -> parseWhoLogs extracts
player names -> cross-references with Census -> creates
Attendance records and awards DKP.
This is the most complex command, using a modal submission flow via
handleModal and an in-memory pendingRaids map to bridge
the command and modal interactions.
Requires ManageRoles permission.
Variables
Section titled “Variables”
constdata:SlashCommandOptionsOnlyBuilder
Defined in: commands/dkp/attendance.ts:37
Functions
Section titled “Functions”autocomplete()
Section titled “autocomplete()”autocomplete(
interaction):Promise<void>
Defined in: commands/dkp/attendance.ts:49
Parameters
Section titled “Parameters”interaction
Section titled “interaction”AutocompleteInteraction
Returns
Section titled “Returns”Promise<void>
execute()
Section titled “execute()”execute(
interaction):Promise<void>
Defined in: commands/dkp/attendance.ts:76
Parameters
Section titled “Parameters”interaction
Section titled “interaction”ChatInputCommandInteraction
Returns
Section titled “Returns”Promise<void>
handleModal()
Section titled “handleModal()”handleModal(
interaction):Promise<void>
Defined in: commands/dkp/attendance.ts:185
Parameters
Section titled “Parameters”interaction
Section titled “interaction”ModalSubmitInteraction
Returns
Section titled “Returns”Promise<void>