You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for this bundle ! There might be an error in your README.md, in your example you wrote
nodecg.on('follower', function(follower) {
shouldn't it be
nodecg.listenFor('follower', function(follower) {
instead ? As I can't see any on() method in the nodecg API
Edit: managed to make it work with nodecg.listenFor('follower', 'bubu-followers', function() ...) but we've found an issue : the follow event is correctly triggered when a user follows the channel, but also when he unfollows and follows again, Is there a way to be notified only the first time a user follows the channel ?
The text was updated successfully, but these errors were encountered:
Never mind, the solution for the follow event to be triggered only once if a viewer unfollows and follows the channel again is to implement a simple history database (containing, for example, the 50 or 100 last followers name).
Hello,
Thank you for this bundle ! There might be an error in your README.md, in your example you wrote
shouldn't it be
instead ? As I can't see any on() method in the nodecg API
Edit: managed to make it work with nodecg.listenFor('follower', 'bubu-followers', function() ...) but we've found an issue : the follow event is correctly triggered when a user follows the channel, but also when he unfollows and follows again, Is there a way to be notified only the first time a user follows the channel ?
The text was updated successfully, but these errors were encountered: