Events
An event is a callback function that is invoked when something happens with your bot or the surrounding world.
Callbacks are set using the on() function:
Bot.on("instant_message", function(data) {
console.log("bot got a message:", data);
});Events Reference
Messaging |
|---|
Group Messaging |
Inventory |
Friendship |
Movement |
World |
Online Status |
Webhooks |