From 60697c80c76f4a63eecea289f0e76acc4f253c16 Mon Sep 17 00:00:00 2001 From: BFlow Date: Thu, 27 Aug 2020 17:34:04 +0200 Subject: [PATCH] command commit --- kabot/kabot/kabot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 385a522..a816cab 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -81,7 +81,9 @@ class Mybot(commands.Cog): if args[0] == 'list': projects = gl.projects.list(search='Kabot')[0] commits = projects.commits.list()[-5:] - await ctx.channel.send(commits) + for commit in commits: + await ctx.channel.send(dir(commit)) + await ctx.channel.send(commit.comments) else: await ctx.channel.send('unknown command')