fix issue print

This commit is contained in:
Milka64 2020-12-26 18:34:36 +01:00
parent 812c5139a2
commit da70ab9d8c

View file

@ -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')