fix issue print
This commit is contained in:
parent
812c5139a2
commit
da70ab9d8c
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ class Mybot(commands.Cog):
|
||||||
if "Kabot" == project.name:
|
if "Kabot" == project.name:
|
||||||
issue = project.issues.create({'title': author})
|
issue = project.issues.create({'title': author})
|
||||||
await ctx.channel.send(issue.web_url)
|
await ctx.channel.send(issue.web_url)
|
||||||
|
logger.info("Issue created : %s" % issue.web_url)
|
||||||
else:
|
else:
|
||||||
await ctx.channel.send('unknown command')
|
await ctx.channel.send('unknown command')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue