FishingBoardRow: {
    badges: string[];
    isViewer: boolean;
    rank: number;
    speciesId?: string | null;
    userId: string;
    username: string | null;
    value: number;
}

Type declaration

  • badges: string[]
  • isViewer: boolean

    True for the row belonging to the session user, so a UI can highlight it without searching.

  • rank: number
  • OptionalspeciesId?: string | null

    Only set on the biggestCatch axis.

  • userId: string
  • username: string | null

    Their Discord username, or null when it is not known.

    NULL rather than a placeholder, and the row is still returned. Someone the bot has never stored a user record for keeps their rank - dropping them would renumber everyone below and make the board disagree with itself between two requests. Render your own fallback; a hardcoded one here could not be translated.

  • value: number