Hierarchy

  • Users

Properties

background: string

The background url to be used for 'rank cards'

colors: {
    color: string;
    type: ColorType;
}[]

Type declaration

guildId: string

The server ID where this data is to be used for.

level: number

The level the user has currently.

stats: {
    count: number;
    name: string;
}[]

Type declaration

  • count: number
  • name: string
toggles: {
    dms: boolean;
    locked: boolean;
    pings: boolean;
}

The toggles for certain features

Type declaration

  • dms: boolean

    If the user doesn't want DMs from the bot about new levelups

  • locked: boolean

    If the user's profile is locked from earning XP

  • pings: boolean

    If the user wants to be pinged for levelups

userId: string

The data that belongs to this user ID

voice: {
    duration: number;
    multiplier: number;
}

The voice data stored while the user is in voice chat. (duration: the Date.now() for when they joined the voice channel) voice.multiplier is the amount of multipler used when the leave the voice channel. (on every update it will update the multiplier to their current state)

Type declaration

  • duration: number
  • multiplier: number
xp: number

The XP amount the user has currently.

Generated using TypeDoc