This commit is contained in:
choelzl 2022-02-23 21:05:27 +01:00
parent bddbdc8cb4
commit 2ae578d97d
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -53,15 +53,15 @@
if (!action) {
$.say($.whisperPrefix(sender) + $.lang.get('ew.help', ' Use "!ew [rain | firework | volcano | bomb | explosion] emote" to render emotes.'));
} else if (action.equalsIgnoreCase('rain')) {
sendData('rain',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.getMessage()).split(' '))
sendData('rain',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.args.join(' ')).split(' '))
} else if (action.equalsIgnoreCase('firework')) {
sendData('firework',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.getMessage()).split(' '))
sendData('firework',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.args.join(' ')).split(' '))
} else if (action.equalsIgnoreCase('volcano')) {
sendData('volcano',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.getMessage()).split(' '))
sendData('volcano',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.args.join(' ')).split(' '))
} else if (action.equalsIgnoreCase('bomb')) {
sendData('bomb',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.getMessage()).split(' '))
sendData('bomb',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.args.join(' ')).split(' '))
} else if (action.equalsIgnoreCase('explosion')) {
sendData('explosion',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.getMessage()).split(' '))
sendData('explosion',event.getTags().get('emotes').split('/'), getNoTwitchEmotes(event,event.args.join(' ')).split(' '))
} else {
$.say($.whisperPrefix(sender) + $.lang.get('ew.help', ' Use "!ew [rain | firework | volcano | bomb | explosion] emote" to render emotes.'));
}