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 22
22
SOFTWARE.
23
23
'''
24
24
25
- __version__ = '1.5.0 '
25
+ __version__ = '1.5.1 '
26
26
27
27
from contextlib import redirect_stdout
28
28
from urllib .parse import urlparse
@@ -387,13 +387,18 @@ async def _logout(self, ctx):
387
387
em = discord .Embed (
388
388
color = discord .Color .green (),
389
389
title = 'Logged out' ,
390
- description = 'Successfully logged out. '
390
+ description = 'No longer logged into '
391
391
)
392
392
393
393
if data ['error' ]:
394
394
em .color = discord .Color .red ()
395
395
em .title = 'Error'
396
396
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' ])
397
402
398
403
await ctx .send (embed = em )
399
404
You can’t perform that action at this time.
0 commit comments