command commit
This commit is contained in:
parent
f955b71230
commit
60697c80c7
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ class Mybot(commands.Cog):
|
|||
if args[0] == 'list':
|
||||
projects = gl.projects.list(search='Kabot')[0]
|
||||
commits = projects.commits.list()[-5:]
|
||||
await ctx.channel.send(commits)
|
||||
for commit in commits:
|
||||
await ctx.channel.send(dir(commit))
|
||||
await ctx.channel.send(commit.comments)
|
||||
else:
|
||||
await ctx.channel.send('unknown command')
|
||||
|
||||
|
|
Loading…
Reference in a new issue