mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
better explaination if min rains
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ client.addListener('message', function(from, channel, message) {
|
||||
|
||||
|
||||
if(amount / max < settings.coin.min_rain) {
|
||||
client.say(channel, settings.messages.rain_too_small.expand({from: from, amount: amount}));
|
||||
client.say(channel, settings.messages.rain_too_small.expand({from: from, amount: amount, min_rain: settings.coin.min_rain * max}));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user