UNPKG

cr.js

Version:
37 lines (23 loc) 956 B
# Clan ?> Represents a CR clan. ## Attributes > **`name`** - The name of the clan. **Returns:** `str` > **`trophies`** - The ammount of trophies of the clan. **Returns:** `int` > **`requiredTrophies`** - The required trophies to join this clan. **Returns:** `int` > **`donations`** - The total amount of donations this season. **Returns:** `int` > **`rank`** - The rank of the clan. **Returns:** `int` > **`description`** - The current description of the clan. **Returns:** `str` > **`type`** - The type of the clan (Closed, Invite Only or Open). **Returns:** `int` > **`region`** - The region of the clan. **Returns:** `str` > **`clanChest`** - The clan chest of the clan. **Returns:** [`ClanChest`](clanchest.md) > **`members`** - An array of the members of the clan. **Returns:** [ [`Member`](member.md), [`Member`](member.md), [`Member`](member.md), [`Member`](member.md)... [`Member`](member.md) ]