Events/abstain
< Events
Jump to navigation
Jump to search
The abstain event is called whenever someone votes to not lynch anyone today.
Event callback
def on_abstain(event: Event, cli: IRCClient, var: module, nick: str) -> None
- The default action is to allow the vote to be placed, if the default action is prevented the vote is not placed. It is the event handler's responsibility to somehow inform the player why the command did not work.
event
: The event objectcli
: The IRC connectionvar
: Reference to the src.settings modulenick
: Person executing the !abstain command
Event data
None