Previous stats log message, without time
Count of requests from the Callback API.
Count of messages sent.
This is used to tell Stats that an event was emitted.
Formats seconds into hh:mm:ss (hh may use more than two digits for very large durations).
Returns how much events of this type were emitted.
Prints the statistics if they changed.
This is used to tell Stats that a message was sent.
Count of various events.
Generated using TypeDoc
Stats stores and prints statistics.
The bot logs statistics each ~10s (if they changed):
General statistics
[...]hh:mm:ss)rxtxCallback API event statistics
newmessage_neweventsallowmessage_alloweventsdenymessage_denyeventseditmessage_editeventsreplymessage_replyeventstypingmessage_typing_stateeventsOther event statistics
startstarteventsactionservice_actioneventsno_matchno_matcheventserrhandler_errorevents