Application.ActionUpdated{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ApplicationActionEvent",
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"format": "guid"
},
"name": {
"type": [
"null",
"string"
]
},
"group": {
"type": [
"null",
"string"
]
},
"enabled": {
"type": "boolean"
},
"random": {
"type": "boolean"
},
"concurrent": {
"type": "boolean"
},
"alwaysRun": {
"type": "boolean"
},
"excludeFromHistory": {
"type": "boolean"
},
"excludeFromPending": {
"type": "boolean"
}
}
}
{
"alwaysRun": true,
"concurrent": true,
"enabled": true,
"excludeFromHistory": false,
"excludeFromPending": false,
"group": "ipsum non exercitation cillum",
"id": "8dbc0011-8d81-4aec-8142-a6ff7eccf26d",
"name": null,
"random": true
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "Application.ActionUpdated" events and register a callback
client.on('Application.ActionUpdated', ({ event, data }) => {
// Code here will run every time the event is received!
console.log('Received event:', event.source, event.type);
console.log('Event data:', data);
});