after_logout
From SmartBots Developers Docs
Jump to: navigation, search
Fires after bot goes offline. Not available for QubicBot yet (?)
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