Fixed club leaderboard

This commit is contained in:
Master Kwoth 2017-09-11 19:20:18 +02:00
parent 1a85825049
commit cdf15d6c01
2 changed files with 3 additions and 2 deletions

View File

@ -58,7 +58,8 @@ namespace NadekoBot.Services.Database.Repositories.Impl
public ClubInfo[] GetClubLeaderboardPage(int page)
{
return _set.OrderBy(x => x.Xp)
return _set
.OrderByDescending(x => x.Xp)
.Skip(page * 9)
.Take(9)
.ToArray();

View File

@ -20,7 +20,7 @@ namespace NadekoBot.Services.Impl
private readonly IBotCredentials _creds;
private readonly DateTime _started;
public const string BotVersion = "1.8.2";
public const string BotVersion = "1.8.3";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";