Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a670726056
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class Mybot(commands.Cog):
|
||||||
@commands.command(help='list des commits')
|
@commands.command(help='list des commits')
|
||||||
async def commits(self, ctx, number = 5):
|
async def commits(self, ctx, number = 5):
|
||||||
number = int(number)
|
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()
|
gl.auth()
|
||||||
projects = gl.projects.list(search='Kabot')[0]
|
projects = gl.projects.list(search='Kabot')[0]
|
||||||
commits = projects.commits.list(all=True)[number:]
|
commits = projects.commits.list(all=True)[number:]
|
||||||
|
@ -91,7 +91,7 @@ class Mybot(commands.Cog):
|
||||||
async def issue(self, ctx, *args):
|
async def issue(self, ctx, *args):
|
||||||
if args:
|
if args:
|
||||||
args = list(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()
|
gl.auth()
|
||||||
if args[0] == 'list':
|
if args[0] == 'list':
|
||||||
projects = gl.projects.list(search='Kabot')[0]
|
projects = gl.projects.list(search='Kabot')[0]
|
||||||
|
|
Loading…
Reference in a new issue