correction n°3 add author (!issue ad)

This commit is contained in:
BFlow 2020-04-24 12:18:42 +02:00
parent 2f591a82e5
commit f6380de580

View file

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