Module twitchpy.dataclasses.shield_mode_status
Classes
class ShieldModeStatus (is_active: bool,
moderator: User,
last_activated_at: datetime.datetime)-
Expand source code
@dataclass class ShieldModeStatus: """ Represents the Shield Mode status Attributes: is_active (bool): A Boolean value that determines whether Shield Mode is active moderator (User): The moderator that last activated Shield Mode. last_activated_at (datetime): The UTC timestamp (in RFC3339 format) of when Shield Mode was last activated """ is_active: bool moderator: User last_activated_at: datetime
Represents the Shield Mode status
Attributes
is_active
:bool
- A Boolean value that determines whether Shield Mode is active
moderator
:User
- The moderator that last activated Shield Mode.
last_activated_at
:datetime
- The UTC timestamp (in RFC3339 format) of when Shield Mode was last activated
Class variables
var is_active : bool
-
The type of the None singleton.
var last_activated_at : datetime.datetime
-
The type of the None singleton.
var moderator : User
-
The type of the None singleton.