force page 1 when we know there is only one page

This commit is contained in:
Mylloon 2021-08-19 10:54:21 +02:00
parent 2935c6da83
commit dbc6f562ab

View file

@ -87,6 +87,7 @@ async def embedListe(utilisateur, guildID, page, color = None, refresh_message =
refresh = False
else:
refresh = True
page = 1 # force page 1
if color == None:
color = Colour.random()
embed = Embed(description = f"**Rappel{'s' if len(reminders) > 1 else ''} de {utilisateur.mention}** • Page {page}/{pageMAX}", color = color)