File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2222SOFTWARE.
2323'''
2424
25- __version__ = '1.4.2 '
25+ __version__ = '1.4.3 '
2626
2727from contextlib import redirect_stdout
2828from urllib .parse import urlparse
@@ -350,6 +350,7 @@ async def update(self, ctx):
350350
351351 em .color = discord .Color .red ()
352352 return await ctx .send (embed = em )
353+
353354 user = await Github .login (self , access_token )
354355 data = await user .update_repository ()
355356
@@ -361,7 +362,7 @@ async def update(self, ctx):
361362 message = data ['commit' ]['message' ]
362363 html_url = data ["html_url" ]
363364 short_sha = data ['sha' ][:6 ]
364- em .add_field (name = 'Merge Commit' , value = f'[`{ short_sha } `]({ html_url } ) { message } - [`{ user .name } `]({ user .url } )' )
365+ em .add_field (name = 'Merge Commit' , value = f'[`{ short_sha } `]({ html_url } ) { message } - [`{ user .username } `]({ user .url } )' )
365366 else :
366367 em .description = 'Already up to date with master repository.'
367368
You can’t perform that action at this time.
0 commit comments