Kamoulox 2.0 correction

This commit is contained in:
BFlow 2020-04-10 17:16:18 +02:00
parent 58e8287348
commit 0a0a83b90e

View file

@ -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):