correction commande commit

This commit is contained in:
BFlow 2020-08-27 17:48:40 +02:00
parent 69bce93eb6
commit c861d2b854

View file

@ -79,9 +79,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.comment) await ctx.channel.send(commit.comment)
await ctx.channel.send(commit.str) await ctx.channel.send(str(commit))
@commands.command() @commands.command()
async def disconnect(self, ctx): async def disconnect(self, ctx):