Events/transition_night_end

From Werewolf Wiki
Jump to navigation Jump to search

The transition_night_end event is called after all nighttime variables have been reset, everything that happens at the beginning of night has happened, and all players have received their role notifications. At this point, night is officially started. If you wish to interrupt the role messages (due to adding a new role, for example), lower the priority. Role messages are sent on priority 2 and template messages are sent on priority 4.

Event callback

def on_transition_night_end(event: Event, cli: IRCClient, var: module) -> None
  • prevent_default has no effect for this event
  • event: The event object
  • cli: The IRC connection
  • var: Reference to the src.settings module

Event data

None