$lb should have correct numbers now on pages > 1

This commit is contained in:
Kwoth
2017-03-11 10:22:41 +01:00
parent e8a9cda990
commit 4673736b60
2 changed files with 2 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ namespace NadekoBot.Modules.Gambling
: usr.Username?.TrimTo(20, true);
var j = i;
embed.AddField(efb => efb.WithName("#" + (j + 1) + " " + usrStr)
embed.AddField(efb => efb.WithName("#" + (9 * (page - 1) + j + 1) + " " + usrStr)
.WithValue(x.Amount.ToString() + " " + NadekoBot.BotConfig.CurrencySign)
.WithIsInline(true));
}