Module twitchpy.dataclasses.bits_leaderboard_leader

Classes

class BitsLeaderboardLeader (user: User,
rank: int,
score: int)
Expand source code
@dataclass
class BitsLeaderboardLeader:
    """
    Represents a user in a Bits Leaderboard

    Attributes:
        user (User): The user on the leaderboard
        rank (int): The user’s position on the leaderboard
        score (int): The number of Bits the user has cheered
    """

    user: User
    rank: int
    score: int

Represents a user in a Bits Leaderboard

Attributes

user : User
The user on the leaderboard
rank : int
The user’s position on the leaderboard
score : int
The number of Bits the user has cheered

Class variables

var rank : int

The type of the None singleton.

var score : int

The type of the None singleton.

var userUser

The type of the None singleton.