Interface RacePlayerScore

Participant of a score based race.

Hierarchy

  • Omit<BaseRacePlayer, "type">
    • RacePlayerScore

Properties

discordId: string

Discord ID of the participant.

raceId: string

ID of the race that user participates in (stringified ObjectId).

revealDate: null | Date

Time when member revealed the race info.

startDate: null | Date

Time when member clicked the START button.

endDate: null | Date

Time when member clicked the FINISH button.

proofDate: null | Date

Time when member uploaded the proof.

dnf: boolean

If true, participant gave up.

proof: null | string

Link to screenshot or other proof of finishing a race.

disqualified: boolean

A field for mods to disqualify a player even if they finished a race.

disqualifiedBy: null | string

Discord ID of the mod who disqualified a player.

disqualificationReason: null | string

Reason for disqualification.

place?: number

Calculated place of a player in a particular race (not stored in database)

Score based race type.

isWarned: boolean

If participant got warned that their time is ending.

score: null | number

Score that participant achieved in the given limit of time.

_id: ObjectId

Generated using TypeDoc