after_logout
From SmartBots Developers Docs
Bot PlaygroundEvents
Revision as of 12:15, 12 September 2022 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:after_logout}} <onlyinclude>Fires after bot goes offline.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.on("after_logout", function(event) { ... }); </...")
Jump to: navigation, search
Fires after bot goes offline.
Bot.on("after_logout", function(event) { ... });
Reference
This event comes with the following event object:
| Variable | Required | Description | |
|---|---|---|---|
| event object properties: | |||
| -- none -- | Event has no properties | ||
Comments
This event fires after a bot goes offline.
Example
Bot.on("after_logout", function(event) {
console.log("I went offline. See you later.");
});
More complex example can be found here: Logging out and back in
- after logout