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 22
22
SOFTWARE.
23
23
'''
24
24
25
- __version__ = '1.4.2 '
25
+ __version__ = '1.4.3 '
26
26
27
27
from contextlib import redirect_stdout
28
28
from urllib .parse import urlparse
@@ -350,6 +350,7 @@ async def update(self, ctx):
350
350
351
351
em .color = discord .Color .red ()
352
352
return await ctx .send (embed = em )
353
+
353
354
user = await Github .login (self , access_token )
354
355
data = await user .update_repository ()
355
356
@@ -361,7 +362,7 @@ async def update(self, ctx):
361
362
message = data ['commit' ]['message' ]
362
363
html_url = data ["html_url" ]
363
364
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 } )' )
365
366
else :
366
367
em .description = 'Already up to date with master repository.'
367
368
You can’t perform that action at this time.
0 commit comments