docs: updated CHANGELOG.md

docs: Version upped to 5.1.11
This commit is contained in:
Kwoth
2024-10-03 02:42:36 +00:00
parent bdad9cc17a
commit bb910a8188
7 changed files with 32 additions and 27 deletions

View File

@@ -646,12 +646,11 @@ public partial class Gambling : GamblingModule<GamblingService>
var cleanRichest = await uow.GetTable<DiscordUser>()
.Where(x => x.UserId.In(users))
.OrderByDescending(x => x.CurrencyAmount)
.Skip(page * perPage)
.Skip(curPage * perPage)
.Take(perPage)
.ToListAsync();
var sg = (SocketGuild)ctx.Guild!;
return cleanRichest.Where(x => sg.GetUser(x.UserId) is not null).ToList();
return cleanRichest;
}
else
{
@@ -660,9 +659,6 @@ public partial class Gambling : GamblingModule<GamblingService>
}
}
var res = Response()
.Paginated();
await Response()
.Paginated()
.PageItems(GetTopRichest)