correction commande commit

This commit is contained in:
BFlow 2020-08-27 18:27:26 +02:00
parent a6790533d1
commit 0903b7a1c7

View file

@ -79,7 +79,7 @@ class Mybot(commands.Cog):
projects = gl.projects.list(search='Kabot')[0]
commits = projects.commits.list()[-5:]
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()
async def disconnect(self, ctx):