correction n°2 add author (!issue ad)
This commit is contained in:
parent
98f4ae45ab
commit
2f591a82e5
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ class Mybot(commands.Cog):
|
||||||
await ctx.channel.send("#" + str(issue['id']) + ": " + issue['title'] + '\n' + issue['web_url'])
|
await ctx.channel.send("#" + str(issue['id']) + ": " + issue['title'] + '\n' + issue['web_url'])
|
||||||
elif args[0] == 'add':
|
elif args[0] == 'add':
|
||||||
title = ''.join(args[1:])
|
title = ''.join(args[1:])
|
||||||
author = title + ' - By ' + ctx.message.author.nick
|
author = title + ' - By ' + ctx.message.author.name
|
||||||
projects = gl.projects.list()
|
projects = gl.projects.list()
|
||||||
for project in projects:
|
for project in projects:
|
||||||
if "Kabot" == project.name:
|
if "Kabot" == project.name:
|
||||||
|
|
Loading…
Reference in a new issue