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;
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ messages:
|
||||
withdraw_too_small: 'Sorry %name%, you need to withdraw at least %min_withdraw%%short_name% (you have %balance%%short_name%)'
|
||||
invalid_address: 'Sorry %name%, the address you specified is invalid (%address%).'
|
||||
tip_too_small: 'Sorry %from%, your tip to %to% (%amount%%short_name%) is too small (min. %min_tip%%short_name%).'
|
||||
rain_too_small: 'Sorry %from%, your rain (%amount%%short_name%) is too small (min. %min_rain%%short_name%).'
|
||||
rain_too_small: 'Sorry %from%, your rain (%amount%%short_name%) is too small (min. %min_rain%%short_name%). Increase the value or decrease max wet users.'
|
||||
tip_self: "Sorry %name%, you can't tip yourself!"
|
||||
invalid_amount: 'Sorry %name%, "%amount%" is not a correct amount.'
|
||||
rain: '%name% rained %amount%%short_name% upon %list%.'
|
||||
|
||||
Reference in New Issue
Block a user