diff --git a/src/utils/reminder.py b/src/utils/reminder.py index 2a9a6d3..8af5cb3 100644 --- a/src/utils/reminder.py +++ b/src/utils/reminder.py @@ -140,7 +140,10 @@ async def listReaction(client, payload): if page + 1 <= int(infoDescription[2]): page += 1 else: - return False, False + if page > 1: + page = 1 + else: + return False, False if payload.emoji.name == "🔄": refresh_message = message embed, _, refresh = await embedListe(utilisateur, payload.guild_id, page, embed["color"], refresh_message)