fix return
This commit is contained in:
parent
41dd47e6bd
commit
eabdafe774
1 changed files with 2 additions and 5 deletions
|
@ -80,12 +80,9 @@ async def embedListeReminder(utilisateur, guildID, page, color = None, refresh_m
|
|||
for emoji in ["⬅️", "➡️"]:
|
||||
await refresh_message.add_reaction(emoji)
|
||||
else:
|
||||
return (False, False, False)
|
||||
return (False, False)
|
||||
|
||||
if pageMAX > 1:
|
||||
refresh = False
|
||||
else:
|
||||
refresh = True
|
||||
if pageMAX == 1:
|
||||
page = 1 # force page 1
|
||||
if color == None:
|
||||
color = Colour.random()
|
||||
|
|
Reference in a new issue