add commande "!cboulette"
This commit is contained in:
parent
d1f7d91485
commit
0c9aeece81
1 changed files with 7 additions and 0 deletions
|
@ -203,6 +203,13 @@ class Mybot(commands.Cog):
|
|||
await asyncio.sleep(len(choix) / 4)
|
||||
await ctx.channel.send(choix)
|
||||
|
||||
@commands.command(help="j'adore la cuisine")
|
||||
async def ciboulette(self, ctx):
|
||||
cmd = self.bot.get_command('gif')
|
||||
ctx.message = "!gif ciboulette"
|
||||
await cmd.invoke(ctx)
|
||||
|
||||
|
||||
@commands.command(help='Faire des choix')
|
||||
async def choice(self, ctx, *words):
|
||||
choices = random.choice(words)
|
||||
|
|
Loading…
Reference in a new issue