mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
minimum rain amount
This commit is contained in:
+2
-2
@@ -196,8 +196,8 @@ client.addListener('message', function(from, channel, message) {
|
||||
max = Math.floor(max);
|
||||
}
|
||||
|
||||
if(amount < settings.coin.min_tip) {
|
||||
client.say(channel, settings.messages.tip_too_small.expand({from: from, to: to, amount: amount}));
|
||||
if(amount < settings.coin.min_rain) {
|
||||
client.say(channel, settings.messages.rain_too_small.expand({from: from, amount: amount}));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user