WIP
This commit is contained in:
parent
3037434e61
commit
9a643238d8
@ -72,11 +72,11 @@
|
|||||||
if (!action) {
|
if (!action) {
|
||||||
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
|
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
|
||||||
} else if (action.equalsIgnoreCase('follow')) {
|
} else if (action.equalsIgnoreCase('follow')) {
|
||||||
alert(args[1].toUpperCase(), "NEW FOLLOWER", "follow");
|
sendData('follow',{ 'user': args[1]});
|
||||||
} else if (action.equalsIgnoreCase('subscribe')) {
|
} else if (action.equalsIgnoreCase('subscribe')) {
|
||||||
alert(args[1].toUpperCase(), "NEW SUBSCRIBER", "subscribe");
|
sendData('subscribe',{ 'user': args[1]});
|
||||||
} else if (action.equalsIgnoreCase('donation')) {
|
} else if (action.equalsIgnoreCase('donation')) {
|
||||||
alert(args[1].toUpperCase(), "NEW DONATION", "donation");
|
sendData('bits',{ 'user': args[1], amount: args[2]});
|
||||||
} else {
|
} else {
|
||||||
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
|
$.say($.whisperPrefix(sender) + $.lang.get('calert.help', ' Use "!calert [follow | subsribe | donation] user" to trigger alert.'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user