correction commande commit

This commit is contained in:
BFlow 2020-08-27 17:38:35 +02:00
parent 60697c80c7
commit be29a2942c

View file

@ -82,8 +82,8 @@ 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)) await ctx.channel.send(commit.str)
await ctx.channel.send(commit.comments) await ctx.channel.send(commit.comment)
else: else:
await ctx.channel.send('unknown command') await ctx.channel.send('unknown command')