correction add author (!issue ad)

This commit is contained in:
BFlow 2020-04-24 12:10:44 +02:00
parent 931ae99f4c
commit 98f4ae45ab

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
author = title + ' - By ' + ctx.message.author.nick
projects = gl.projects.list()
for project in projects:
if "Kabot" == project.name: