This commit is contained in:
choelzl 2022-02-24 02:28:55 +01:00
parent 3037434e61
commit 9a643238d8
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -72,11 +72,11 @@
if (!action) {
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
} else if (action.equalsIgnoreCase('follow')) {
alert(args[1].toUpperCase(), "NEW FOLLOWER", "follow");
sendData('follow',{ 'user': args[1]});
} else if (action.equalsIgnoreCase('subscribe')) {
alert(args[1].toUpperCase(), "NEW SUBSCRIBER", "subscribe");
sendData('subscribe',{ 'user': args[1]});
} else if (action.equalsIgnoreCase('donation')) {
alert(args[1].toUpperCase(), "NEW DONATION", "donation");
sendData('bits',{ 'user': args[1], amount: args[2]});
} else {
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
}