fix: .coins will respect the user specified page now

This commit is contained in:
Kwoth
2024-07-07 10:07:35 +00:00
parent 1d760a548e
commit cff8a258d0

View File

@@ -197,6 +197,9 @@ public partial class Searches
if (--page < 0)
return;
if (page > 25)
page = 25;
await Response()
.Paginated()
.PageItems(async (page) =>
@@ -226,6 +229,7 @@ public partial class Searches
return embed;
})
.CurrentPage(page)
.AddFooter(false)
.SendAsync();
}