Kamoulox 2.0 correction
This commit is contained in:
parent
58e8287348
commit
0a0a83b90e
1 changed files with 3 additions and 3 deletions
|
@ -209,10 +209,10 @@ class Mybot(commands.Cog):
|
|||
avec_verbe = phrase1 + " et " + phrase2 + "."
|
||||
piece = random.choice(['pile', 'face'])
|
||||
if piece == "pile":
|
||||
return sans_verbe
|
||||
result = sans_verbe
|
||||
elif piece == "face":
|
||||
return avec_verbe
|
||||
await ctx.send(piece)
|
||||
result = avec_verbe
|
||||
await ctx.send(result)
|
||||
|
||||
@tasks.loop(seconds=1.5)
|
||||
async def play_next(self):
|
||||
|
|
Loading…
Reference in a new issue