Kamoulox 2.0 correction
This commit is contained in:
parent
f0f182560f
commit
58e8287348
1 changed files with 3 additions and 3 deletions
|
@ -194,7 +194,7 @@ class Mybot(commands.Cog):
|
|||
await ctx.send(response)
|
||||
|
||||
@commands.command(help="Je menotte une cornemuse et je fume Eddy Malou")
|
||||
async def kamoulox(self, ctx):
|
||||
async def kamoulox(self, ctx):
|
||||
sans_verbe = get_word('nom').text + " " + get_word('complement').get('m') + " et " + get_word('nom').text + " " + get_word('complement').get('m') + "."
|
||||
nom1 = get_word('nom')
|
||||
nom2 = get_word('nom')
|
||||
|
@ -209,9 +209,9 @@ class Mybot(commands.Cog):
|
|||
avec_verbe = phrase1 + " et " + phrase2 + "."
|
||||
piece = random.choice(['pile', 'face'])
|
||||
if piece == "pile":
|
||||
sans_verbe
|
||||
return sans_verbe
|
||||
elif piece == "face":
|
||||
avec_verbe
|
||||
return avec_verbe
|
||||
await ctx.send(piece)
|
||||
|
||||
@tasks.loop(seconds=1.5)
|
||||
|
|
Loading…
Reference in a new issue