changed format
This commit is contained in:
parent
4b1ccd8cbc
commit
0a01500296
@ -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);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user