Skip to main content

Class: ClanWarLeagueClan

Represents a Clan of CWL Group.

Constructors

constructor

new ClanWarLeagueClan(client, data)

Parameters

NameType
clientClient
dataAPIClanWarLeagueClan

Defined in

struct/ClanWarLeagueGroup.ts:51

Properties

name

name: string

The clan's name.

Defined in

struct/ClanWarLeagueGroup.ts:34


tag

tag: string

The clan's tag.

Defined in

struct/ClanWarLeagueGroup.ts:37


level

level: number

The clan's level.

Defined in

struct/ClanWarLeagueGroup.ts:40


badge

badge: Badge

The clan's badge.

Defined in

struct/ClanWarLeagueGroup.ts:43


members

members: ClanWarLeagueClanMember[]

An array of members that are in the CWL group.

Defined in

struct/ClanWarLeagueGroup.ts:46

Accessors

get shareLink(): string

Get clan's formatted link to open clan in-game.

Returns

string

Defined in

struct/ClanWarLeagueGroup.ts:68

Methods

fetchMembers

fetchMembers(options?): Promise<Player[]>

Get Player info for every members that are in the CWL group.

Parameters

NameType
options?OverrideOptions

Returns

Promise<Player[]>

Defined in

struct/ClanWarLeagueGroup.ts:61