correction commande commit
This commit is contained in:
parent
a6790533d1
commit
0903b7a1c7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Mybot(commands.Cog):
|
||||||
projects = gl.projects.list(search='Kabot')[0]
|
projects = gl.projects.list(search='Kabot')[0]
|
||||||
commits = projects.commits.list()[-5:]
|
commits = projects.commits.list()[-5:]
|
||||||
for commit in commits:
|
for commit in commits:
|
||||||
await ctx.channel.send(commit.comments.list())
|
await ctx.channel.send(commit['title'] + ": " + commit['author_name'] + ": " '\n' + commit['web_url'])
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def disconnect(self, ctx):
|
async def disconnect(self, ctx):
|
||||||
|
|
Loading…
Reference in a new issue