Dataclass representing the balance of a user from the API.
Note
The total, bank and cash attributes may be a float if set to infinity (positive or negative).
total
bank
cash
float
total (Union[int, float]) –
cash (Union[int, float]) –
bank (Union[int, float]) –
user_id (int) –
guild_id (int) –
bucket (str) –
rank (int) –
None
The user’s total amount of money (cash + bank).
Union[int, float]
int
The user’s bank amount.
The user’s cash amount.
The user’s unique ID.
The user’s guild’s unique ID.
The rank of the user in the guild according to query parameters.
Dataclass representing a guild from the API.
id (int) –
name (str) –
icon (str) –
owner_id (int) –
member_count (int) –
symbol (str) –
The guild’s unique ID.
The guild’s name.
str
The guild owner’s unique ID.
The guild’s amount of members.
The guild’s currency symbol.