$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));
}

View File

@ -16,7 +16,7 @@ namespace NadekoBot.Services.Impl
private readonly DiscordShardedClient _client;
private readonly DateTime _started;
public const string BotVersion = "1.22";
public const string BotVersion = "1.23";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";