File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2222SOFTWARE.
2323'''
2424
25- __version__ = '1.5.0 '
25+ __version__ = '1.5.1 '
2626
2727from contextlib import redirect_stdout
2828from urllib .parse import urlparse
@@ -387,13 +387,18 @@ async def _logout(self, ctx):
387387 em = discord .Embed (
388388 color = discord .Color .green (),
389389 title = 'Logged out' ,
390- description = 'Successfully logged out. '
390+ description = 'No longer logged into '
391391 )
392392
393393 if data ['error' ]:
394394 em .color = discord .Color .red ()
395395 em .title = 'Error'
396396 em .description = 'You are not logged in already.'
397+ else :
398+ user = data ['user' ]
399+ em .description += user ['username' ]
400+ em .set_author (name = user ['username' ], icon_url = user ['avatar_url' ], url = user ['url' ])
401+ em .set_thumbnail (url = user ['avatar_url' ])
397402
398403 await ctx .send (embed = em )
399404
You can’t perform that action at this time.
0 commit comments