diff --git a/twitch/customEmoteWall.js b/twitch/customEmoteWall.js index 72d0e33..31b5695 100644 --- a/twitch/customEmoteWall.js +++ b/twitch/customEmoteWall.js @@ -42,7 +42,7 @@ if (command.equalsIgnoreCase('overlay')) { if (!action) { - $.say($.whisperPrefix(sender) + $.lang.get('customOverlay.help', ' Use "!overlay [follow | subscribe | donation | timer] value" to set overlay data.')); + $.say($.whisperPrefix(sender) + $.lang.get('ew.help', ' Use "!ew [follow | subscribe | donation | timer] value" to set overlay data.')); } else if (action.equalsIgnoreCase('follow')) { sendData(action, value); } else if (action.equalsIgnoreCase('subscribe')) { @@ -52,7 +52,7 @@ } else if (action.equalsIgnoreCase('timer')) { sendData(action, new Date(Date.now().getTime()+value*1000*60)); } else { - $.say($.whisperPrefix(sender) + $.lang.get('customOverlay.help')); + $.say($.whisperPrefix(sender) + $.lang.get('ew.help')); } } }); @@ -65,12 +65,9 @@ }); $.bind('initReady', function() { - $.registerChatCommand('./custom/custom/customOverlay.js', 'overlay'); + $.registerChatCommand('./custom/custom/customOverlay.js', 'ew'); - $.registerChatSubcommand('overlay', 'follow', 2); - $.registerChatSubcommand('overlay', 'subscribe', 2); - $.registerChatSubcommand('overlay', 'donation', 2); - $.registerChatSubcommand('overlay', 'timer', 2); + $.registerChatSubcommand('ew', 'follow', 2); }); })(); \ No newline at end of file