correction commande commit
This commit is contained in:
parent
60697c80c7
commit
be29a2942c
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue