From 377496b979ac2e948e4111cfc5a2694615420a47 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 30 Jul 2021 20:05:04 +0200 Subject: [PATCH] fix backward at page 1 not going to last page --- src/utils/reminder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/reminder.py b/src/utils/reminder.py index 6576e0e..ec507fe 100644 --- a/src/utils/reminder.py +++ b/src/utils/reminder.py @@ -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 == "➡️":