mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
fix: .coins will respect the user specified page now
This commit is contained in:
@@ -197,6 +197,9 @@ public partial class Searches
|
|||||||
if (--page < 0)
|
if (--page < 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (page > 25)
|
||||||
|
page = 25;
|
||||||
|
|
||||||
await Response()
|
await Response()
|
||||||
.Paginated()
|
.Paginated()
|
||||||
.PageItems(async (page) =>
|
.PageItems(async (page) =>
|
||||||
@@ -226,6 +229,7 @@ public partial class Searches
|
|||||||
|
|
||||||
return embed;
|
return embed;
|
||||||
})
|
})
|
||||||
|
.CurrentPage(page)
|
||||||
.AddFooter(false)
|
.AddFooter(false)
|
||||||
.SendAsync();
|
.SendAsync();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user