This commit is contained in:
BFlow 2020-08-27 18:03:18 +02:00
parent 6c507593f5
commit a6790533d1

View file

@ -79,9 +79,7 @@ class Mybot(commands.Cog):
projects = gl.projects.list(search='Kabot')[0] projects = gl.projects.list(search='Kabot')[0]
commits = projects.commits.list()[-5:] commits = projects.commits.list()[-5:]
for commit in commits: for commit in commits:
await ctx.channel.send(dir(commit.comments)) await ctx.channel.send(commit.comments.list())
await ctx.channel.send(commit.comment)
await ctx.channel.send(str(commit))
@commands.command() @commands.command()
async def disconnect(self, ctx): async def disconnect(self, ctx):