Events/rename_player
< Events
The rename_player event is called whenever someone changes their nick while in channel. It is executed before any tracking variables are updated to the new nick.
Event callback
def on_rename_player(event: Event, cli: IRCClient, var: module, prefix: str, nick: str) -> None
- prevent_default has no effect for this event
event
: The event objectcli
: The IRC connectionvar
: Reference to the src.settings moduleprefix
: Old nicknick
: New nick
Event data
None