From 4673736b60a7a54ed5f56e3c4607d577581d111d Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sat, 11 Mar 2017 10:22:41 +0100 Subject: [PATCH] $lb should have correct numbers now on pages > 1 --- src/NadekoBot/Modules/Gambling/Gambling.cs | 2 +- src/NadekoBot/Services/Impl/StatsService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Gambling/Gambling.cs b/src/NadekoBot/Modules/Gambling/Gambling.cs index fa5f462e..760f8156 100644 --- a/src/NadekoBot/Modules/Gambling/Gambling.cs +++ b/src/NadekoBot/Modules/Gambling/Gambling.cs @@ -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)); } diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index 11f7802c..bd8eff0b 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -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";