correction command choice

This commit is contained in:
BFlow 2020-04-28 21:23:30 +02:00
parent ed125f7230
commit 96bf856059

View file

@ -129,7 +129,7 @@ class Mybot(commands.Cog):
await ctx.channel.send(choix) await ctx.channel.send(choix)
@commands.command(help='Faire des choix') @commands.command(help='Faire des choix')
def choice(self, ctx, *words): async def choice(self, ctx, *words):
choices = random.choice(words) choices = random.choice(words)
await ctx.channel.send(choices) await ctx.channel.send(choices)