From 0903b7a1c75d4ab31206bd12f9447d30194e3c20 Mon Sep 17 00:00:00 2001 From: BFlow Date: Thu, 27 Aug 2020 18:27:26 +0200 Subject: [PATCH] correction commande commit --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index adf26fb..a97948e 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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):