From be29a2942ce9f90633d4780bae14a9db34e33196 Mon Sep 17 00:00:00 2001 From: BFlow Date: Thu, 27 Aug 2020 17:38:35 +0200 Subject: [PATCH] correction commande commit --- kabot/kabot/kabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index a816cab..f02830d 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -82,8 +82,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.comments) + await ctx.channel.send(commit.str) + await ctx.channel.send(commit.comment) else: await ctx.channel.send('unknown command')