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 ["⬅️", "➡️"]:
|
for emoji in ["⬅️", "➡️"]:
|
||||||
await refresh_message.add_reaction(emoji)
|
await refresh_message.add_reaction(emoji)
|
||||||
else:
|
else:
|
||||||
return (False, False, False)
|
return (False, False)
|
||||||
|
|
||||||
if pageMAX > 1:
|
if pageMAX == 1:
|
||||||
refresh = False
|
|
||||||
else:
|
|
||||||
refresh = True
|
|
||||||
page = 1 # force page 1
|
page = 1 # force page 1
|
||||||
if color == None:
|
if color == None:
|
||||||
color = Colour.random()
|
color = Colour.random()
|
||||||
|
|
Reference in a new issue