correction commande commit

This commit is contained in:
BFlow 2020-08-27 17:39:57 +02:00
parent be29a2942c
commit bec13c53b5

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(commit.str)
await ctx.channel.send(commit.comment) await ctx.channel.send(commit.comment)
await ctx.channel.send(commit.str)
else: else:
await ctx.channel.send('unknown command') await ctx.channel.send('unknown command')