force page 1 when we know there is only one page
This commit is contained in:
parent
2935c6da83
commit
dbc6f562ab
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue