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')
|
||||
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]
|
||||
|
|
Loading…
Reference in a new issue