Fixed club leaderboard
This commit is contained in:
parent
1a85825049
commit
cdf15d6c01
@ -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();
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user