diff --git a/twitch/customAlerts.js b/twitch/customAlerts.js index cb691fc..9a6722a 100644 --- a/twitch/customAlerts.js +++ b/twitch/customAlerts.js @@ -14,5 +14,13 @@ var subscriber = event.getSubscriber(); alert(subscriber.toUpperCase(), "NEW SUBSCRIBER", "subscribe"); }); + + $.bind('initReady', function() { + $.registerChatSubcommand('calert', 'follow', 2); + $.registerChatSubcommand('calert', 'subscribe', 2); + $.registerChatSubcommand('calert', 'donation', 2); + + $.registerChatCommand('./custom/custom/customAlerts.js', 'calert', 2); + }); })(); \ No newline at end of file diff --git a/twitch/customOverlay.js b/twitch/customOverlay.js index 4a6872f..826d25c 100644 --- a/twitch/customOverlay.js +++ b/twitch/customOverlay.js @@ -40,6 +40,8 @@ $.registerChatSubcommand('overlay', 'subscribe', 2); $.registerChatSubcommand('overlay', 'donation', 2); $.registerChatSubcommand('overlay', 'timer', 2); + + $.registerChatCommand('./custom/custom/customOverlay.js', 'overlay', 2); });