mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Improved .betstats formatting
This commit is contained in:
@@ -80,7 +80,7 @@ public partial class Gambling : GamblingModule<GamblingService>
|
|||||||
foreach (var stat in stats)
|
foreach (var stat in stats)
|
||||||
{
|
{
|
||||||
var perc = (stat.PaidOut / stat.Bet).ToString("P2", Culture);
|
var perc = (stat.PaidOut / stat.Bet).ToString("P2", Culture);
|
||||||
str += $"{stat.Feature, 8} | {stat.Bet, 15} | {stat.PaidOut, 15} | {perc}\n";
|
str += $"`{stat.Feature}` | {N(stat.Bet)} | {N(stat.PaidOut)} | {perc}\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
eb.WithDescription(str);
|
eb.WithDescription(str);
|
||||||
|
Reference in New Issue
Block a user