mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
amount is now 3.
This commit is contained in:
+1
-1
@@ -267,7 +267,7 @@ client.addListener('message', function(from, channel, message) {
|
||||
}
|
||||
var to = match[1];
|
||||
var random = match[2];
|
||||
var amount = Number(match[2]);
|
||||
var amount = Number(match[3]);
|
||||
|
||||
if(isNaN(amount)) {
|
||||
client.say(channel, settings.messages.invalid_amount.expand({name: from, amount: match[3]}));
|
||||
|
||||
Reference in New Issue
Block a user