This commit is contained in:
2022-02-07 03:55:22 +01:00
parent 736fe8f823
commit c73dffb327
2 changed files with 13 additions and 5 deletions

View File

@@ -34,8 +34,15 @@
}
});
$.bind('twitchFollow', function(event) {
sendData('follow', event.getFollower());
});
$.bind('twitchSubscriber', function(event) {
sendData('subscribe', event.getSubscriber());
});
$.bind('initReady', function() {
$.registerChatCommand('./custom/custom/customOverlay.js', 'overlay');
$.registerChatCommand('./custom/custom/customOverlay.js', 'overlay', 2);
$.registerChatSubcommand('overlay', 'follow', 2);
$.registerChatSubcommand('overlay', 'subscribe', 2);