correction n°2 add author (!issue ad)

This commit is contained in:
BFlow 2020-04-24 12:15:59 +02:00
parent 98f4ae45ab
commit 2f591a82e5

View file

@ -160,7 +160,7 @@ class Mybot(commands.Cog):
await ctx.channel.send("#" + str(issue['id']) + ": " + issue['title'] + '\n' + issue['web_url'])
elif args[0] == 'add':
title = ''.join(args[1:])
author = title + ' - By ' + ctx.message.author.nick
author = title + ' - By ' + ctx.message.author.name
projects = gl.projects.list()
for project in projects:
if "Kabot" == project.name: