Source code for bot_api.events.won_round_event

from dataclasses import dataclass

from .bot_event import BotEvent


[docs] @dataclass(frozen=True, repr=True) class WonRoundEvent(BotEvent): """ Represents an event triggered when a bot has won the round. """ @property def critical(self) -> bool: """ Indicates whether this event is critical. Returns: bool: Always returns True, as this event is considered critical. """ return True