same for the next arrow going to first page when triggered at last page
This commit is contained in:
parent
9e8045fe73
commit
05de1704f9
1 changed files with 4 additions and 1 deletions
|
@ -139,6 +139,9 @@ async def listReaction(client, payload):
|
||||||
if payload.emoji.name == "➡️":
|
if payload.emoji.name == "➡️":
|
||||||
if page + 1 <= int(infoDescription[2]):
|
if page + 1 <= int(infoDescription[2]):
|
||||||
page += 1
|
page += 1
|
||||||
|
else:
|
||||||
|
if page > 1:
|
||||||
|
page = 1
|
||||||
else:
|
else:
|
||||||
return False, False
|
return False, False
|
||||||
if payload.emoji.name == "🔄":
|
if payload.emoji.name == "🔄":
|
||||||
|
|
Reference in a new issue