Events/get_special
< Events
Jump to navigation
Jump to search
The get_special event is called in numerous places, and is used to get a list of all players who have special powers (generally, this means they have a role-specific command they can use either during day or night).
Event callback
def on_get_special(event: Event, cli: IRCClient, var: module) -> None
- prevent_default has no effect for this event
event
: The event objectcli
: The IRC connectionvar
: Reference to the src.settings module
Event data
{
"special": Set[str]
}
The special set should be added to with players who have special powers. It is initialized to an empty set.