changed format

This commit is contained in:
appelemac 2016-05-05 15:52:08 +02:00
parent 0a01500296
commit d1394aff49

View File

@ -21,17 +21,7 @@ namespace NadekoBot.Classes
if (silent) if (silent)
return; return;
var flows = ""; var flows = amount +" " + NadekoBot.Config.CurrencySign;
//Maximum displayed will be ~40
int i;
for (i = 0; i < 40 && i < amount; i++)
{
flows += NadekoBot.Config.CurrencySign;
}
if (i < amount)
{
flows += $" and {amount - i} more {NadekoBot.Config.CurrencySign}!";
}
await u.SendMessage("👑Congratulations!👑\nYou received: " + flows).ConfigureAwait(false); await u.SendMessage("👑Congratulations!👑\nYou received: " + flows).ConfigureAwait(false);
} }