This commit is contained in:
choelzl 2022-02-06 19:59:23 +01:00
parent e0bfb9b305
commit 99ca610a7e
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
2 changed files with 4 additions and 6 deletions

View File

@ -16,11 +16,10 @@
});
$.bind('initReady', function() {
$.registerChatCommand('./custom/custom/customAlerts.js', 'calert');
$.registerChatSubcommand('calert', 'follow', 2);
$.registerChatSubcommand('calert', 'subscribe', 2);
$.registerChatSubcommand('calert', 'donation', 2);
$.registerChatCommand('./custom/custom/customAlerts.js', 'calert', 2);
});
});
})();

View File

@ -13,7 +13,6 @@
const sender = "" + event.getSender().toLowerCase(),
command = event.getCommand(),
argsString = "" + event.getArguments().trim(),
args = event.getArgs(),
action = args[0],
value = args[1];
@ -36,12 +35,12 @@
});
$.bind('initReady', function() {
$.registerChatCommand('./custom/custom/customOverlay.js', 'overlay');
$.registerChatSubcommand('overlay', 'follow', 2);
$.registerChatSubcommand('overlay', 'subscribe', 2);
$.registerChatSubcommand('overlay', 'donation', 2);
$.registerChatSubcommand('overlay', 'timer', 2);
$.registerChatCommand('./custom/custom/customOverlay.js', 'overlay', 2);
});