fix backward at page 1 not going to last page
This commit is contained in:
parent
6f6bd3ac11
commit
377496b979
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ async def listReaction(client, payload):
|
|||
page -= 1
|
||||
else:
|
||||
if int(infoDescription[2]) > 1:
|
||||
page += 1
|
||||
page = int(infoDescription[2])
|
||||
else:
|
||||
return False, False
|
||||
if payload.emoji.name == "➡️":
|
||||
|
|
Reference in a new issue