add help commande issue

This commit is contained in:
BFlow 2020-04-24 10:01:45 +02:00
parent d03d94b0f2
commit e438e187d2

View file

@ -166,7 +166,8 @@ class Mybot(commands.Cog):
issue = project.issues.create({'title': title}) issue = project.issues.create({'title': title})
await ctx.channel.send(issue.web_url) await ctx.channel.send(issue.web_url)
else: else:
await ctx.channel.send('unknown command') await ctx.channel.send('unknown command, Try: !issue [arg]',
"Args: list, search[optionnel: mot clé] et add[nom de l'issue]")
@commands.command(help="optionnal args : [livre] [character]") @commands.command(help="optionnal args : [livre] [character]")
async def kaamelott(self, ctx, *args): async def kaamelott(self, ctx, *args):