File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,10 @@ async def update(self, ctx):
343
343
color = discord .Color .green ()
344
344
)
345
345
346
- oauth_url = f'https://github.com/login/oauth/authorize?client_id=e54e4ff0f234ee9f22aa&scope=public_repo&redirect_uri=https://api.kybr.tk/api/ modmail/github/callback?user_id={ self .user .id } '
346
+ oauth_url = f'https://github.com/login/oauth/authorize?client_id=e54e4ff0f234ee9f22aa&scope=public_repo&redirect_uri=https://api.kybr.tk/modmail/github/callback?user_id={ self .user .id } '
347
347
348
348
if data ['latest_version' ] == __version__ :
349
- async with self .session .get (f'https://api.kybr.tk/api/ modmail/github/user/{ self .user .id } ' ) as resp :
349
+ async with self .session .get (f'https://api.kybr.tk/modmail/github/user/{ self .user .id } ' ) as resp :
350
350
if resp .status == 403 :
351
351
em .title = 'Unauthorised'
352
352
em .description = 'You have not authorised modmail. ' \
@@ -365,7 +365,7 @@ async def update(self, ctx):
365
365
em .set_author (name = new_commit ['user' ]['username' ], icon_url = new_commit ['user' ]['avatar_url' ], url = new_commit ['user' ]['url' ])
366
366
367
367
if data ['latest_version' ] != __version__ :
368
- async with self .session .get (f'https://api.kybr.tk/api/ modmail/github/pull/{ self .user .id } ' ) as resp :
368
+ async with self .session .get (f'https://api.kybr.tk/modmail/github/pull/{ self .user .id } ' ) as resp :
369
369
if resp .status == 403 :
370
370
em .title = 'Unauthorised'
371
371
em .description = 'You have not authorised modmail. ' \
You can’t perform that action at this time.
0 commit comments