Class LeaderboardGuild

Represents a guild in a leaderboard from the API

Constructors

Properties

banner: BannerData

The banner of the guild

created: Date

The creation time of the guild

createdTimestamp: number

The creation time of the guild as a unix timestamp

level: number

The level of the guild

members: number

The member count of the guild

name: string

The name of the guild

tag: string

The tag of the guild

territories: number

The territory count of the guild

warCount: number

The war count of the guild

Counts all war attempts.
xp: number

The current raw xp of the guild

Methods

  • Fetches the stats of the guild

    This method causes API requests.

    Parameters

    • Optional options: GuildRequestOptions

      The options for the request; the guild field has no effect

    Returns Promise<Guild>

Generated using TypeDoc