From 98f4ae45abaac7f95099f582a5febba5ecdfa23a Mon Sep 17 00:00:00 2001 From: BFlow Date: Fri, 24 Apr 2020 12:10:44 +0200 Subject: [PATCH] correction add author (!issue ad) --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 8da641b..522679a 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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: