$lb should have correct numbers now on pages > 1
This commit is contained in:
parent
e8a9cda990
commit
4673736b60
@ -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));
|
||||
}
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user