From c861d2b85442d0394e45a025ed78c0ff5f0dba36 Mon Sep 17 00:00:00 2001 From: BFlow Date: Thu, 27 Aug 2020 17:48:40 +0200 Subject: [PATCH] correction commande commit --- kabot/kabot/kabot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index e963ff6..57501b8 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -79,9 +79,8 @@ class Mybot(commands.Cog): projects = gl.projects.list(search='Kabot')[0] commits = projects.commits.list()[-5:] for commit in commits: - await ctx.channel.send(dir(commit)) await ctx.channel.send(commit.comment) - await ctx.channel.send(commit.str) + await ctx.channel.send(str(commit)) @commands.command() async def disconnect(self, ctx):