same for the next arrow going to first page when triggered at last page

This commit is contained in:
Mylloon 2021-07-30 20:59:02 +02:00
parent 9e8045fe73
commit 05de1704f9

View file

@ -139,6 +139,9 @@ async def listReaction(client, payload):
if payload.emoji.name == "➡️":
if page + 1 <= int(infoDescription[2]):
page += 1
else:
if page > 1:
page = 1
else:
return False, False
if payload.emoji.name == "🔄":