command commit

This commit is contained in:
BFlow 2020-08-27 18:40:26 +02:00
parent 36b1445994
commit aa0274ba22

View file

@ -81,7 +81,7 @@ class Mybot(commands.Cog):
commits = projects.commits.list()[-number:] commits = projects.commits.list()[-number:]
for commit in commits: for commit in commits:
detail = commit.attributes detail = commit.attributes
await ctx.channel.send(detail['title'] + ": " + detail['author_name'] + ": " '\n' + detail['web_url']) await ctx.channel.send("__" + detail['author_name'] + "__: " + detail['title'] + '\n' + detail['web_url'])
@commands.command() @commands.command()
async def disconnect(self, ctx): async def disconnect(self, ctx):