Merge remote-tracking branch 'origin/master'

This commit is contained in:
BFlow 2020-08-27 18:52:11 +02:00
commit a670726056

View file

@ -75,7 +75,7 @@ class Mybot(commands.Cog):
@commands.command(help='list des commits')
async def commits(self, ctx, number = 5):
number = int(number)
gl = gitlab.Gitlab('https://git.0w.tf/', private_token='VHLsCQTcjF3oxujqFRYz')
gl = gitlab.Gitlab('https://git.0w.tf/', private_token='s-e3HXBUTroL52cNkAbe')
gl.auth()
projects = gl.projects.list(search='Kabot')[0]
commits = projects.commits.list(all=True)[number:]
@ -91,7 +91,7 @@ class Mybot(commands.Cog):
async def issue(self, ctx, *args):
if args:
args = list(args)
gl = gitlab.Gitlab('https://git.0w.tf/', private_token='VHLsCQTcjF3oxujqFRYz')
gl = gitlab.Gitlab('https://git.0w.tf/', private_token='s-e3HXBUTroL52cNkAbe')
gl.auth()
if args[0] == 'list':
projects = gl.projects.list(search='Kabot')[0]