correction command choice
This commit is contained in:
parent
ed125f7230
commit
96bf856059
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Mybot(commands.Cog):
|
|||
await ctx.channel.send(choix)
|
||||
|
||||
@commands.command(help='Faire des choix')
|
||||
def choice(self, ctx, *words):
|
||||
async def choice(self, ctx, *words):
|
||||
choices = random.choice(words)
|
||||
await ctx.channel.send(choices)
|
||||
|
||||
|
|
Loading…
Reference in a new issue