mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: off-by-one error in switching list pages
This commit is contained in:
parent
d19f6456a7
commit
be443caccf
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ namespace PluralKit.Bot
|
|||
await ctx.Reply($"{Emojis.Error} Operation canceled (invalid number).");
|
||||
continue;
|
||||
}
|
||||
if (repliedNum >= pageCount)
|
||||
if (repliedNum > pageCount)
|
||||
{
|
||||
await ctx.Reply($"{Emojis.Error} That page number is too high (page count is {pageCount}).");
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue