Hook into Beam Events and emit them to NodeCG Compatible channels.
This is a NodeCG 0.8 bundle.
For events that happen whilst the bundle is offline the Beam API can be pulled and compared to the internal data store.
nodecg/bundles/nodecg-beam
nodecg/cfg/
called nodecg-beam.json
{
"channels":["ChannelName"]
}
This module does nothing by itself. To use it for alerts and other media you need to listen to the events it outputs.
Checkout prime-alerts for a basic example
nodecg.listenFor('follow', 'nodecg-beam', function(data) {
//Snazzy Alerts
}
{
"name":"username",
"channel":"channel",
"ts":3123123123123
}
nodecg.listenFor('update', 'nodecg-beam', function(data) {
//Snazzy Alerts
}
This event is mostly parroted from the underlying Beam layer. Use them if they are useful!