Events/revealroles
< Events
Jump to navigation
Jump to search
The revealroles event is called once at the end of the !revealroles command.
Event callback
def on_revealroles(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
{
"output": list(str)
}
The output contains all fragments to be shown in revealroles. Additional things may be appended to this list in order to add additional items of information.