fix backward at page 1 not going to last page

This commit is contained in:
Mylloon 2021-07-30 20:05:04 +02:00
parent 6f6bd3ac11
commit 377496b979

View file

@ -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 == "➡️":