General.Custom{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "CustomEvent",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "data": {
      "type": [
        "null",
        "string"
      ]
    }
  }
}
{
  "data": null
}
// Initialize the Streamer.bot WebSocket Client
const client = new StreamerbotClient();
// Subscribe to "General.Custom" events and register a callback
client.on('General.Custom', ({ 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);
});