Class: ClanWarLeagueClan
Represents a Clan of CWL Group.
Constructors
constructor
• new ClanWarLeagueClan(client
, data
)
Parameters
Name | Type |
---|---|
client | Client |
data | APIClanWarLeagueClan |
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
shareLink
• 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
Name | Type |
---|---|
options? | OverrideOptions |
Returns
Promise
<Player
[]>