changed format

This commit is contained in:
appelemac 2016-05-05 15:49:10 +02:00
parent 4b1ccd8cbc
commit 0a01500296

View File

@ -122,18 +122,7 @@ namespace NadekoBot.Modules.Gambling
return async e =>
{
var pts = GetUserFlowers(e.User.Id);
var str = $"`You have {pts} {NadekoBot.Config.CurrencyName}s".SnPl((int)pts) + "`\n";
//Maximum displayed will be ~40
int i;
for (i = 0;i < pts && i< 40; i++)
{
str += NadekoBot.Config.CurrencySign;
}
if (i<pts)
{
str += $" and {pts - i} more {NadekoBot.Config.CurrencySign}s".SnPl((int)pts-i) + "!";
}
var str = $"`You have {pts} {NadekoBot.Config.CurrencySign}";
await e.Channel.SendMessage(str).ConfigureAwait(false);
};
}