correction add author (!issue ad)
This commit is contained in:
parent
931ae99f4c
commit
98f4ae45ab
1 changed files with 1 additions and 1 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
|
author = title + ' - By ' + ctx.message.author.nick
|
||||||
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