mirror of
https://github.com/NovaOSS/nova-cord.git
synced 2024-11-25 20:33:58 +01:00
Fixed album name
This commit is contained in:
parent
6b237e75ba
commit
3adbc49cfa
|
@ -109,7 +109,7 @@ async def get_member_song_line(member):
|
||||||
if member.activity and member.activity.type == nextcord.ActivityType.listening:
|
if member.activity and member.activity.type == nextcord.ActivityType.listening:
|
||||||
album = ''
|
album = ''
|
||||||
if member.activity.title != member.activity.album:
|
if member.activity.title != member.activity.album:
|
||||||
album = '({member.activity.album})'
|
album = f'({member.activity.album})'
|
||||||
|
|
||||||
return f'{member.mention}: [{member.activity.artist.replace(";", ",")} - **{member.activity.title}** {album}]({member.activity.track_url})\n'
|
return f'{member.mention}: [{member.activity.artist.replace(";", ",")} - **{member.activity.title}** {album}]({member.activity.track_url})\n'
|
||||||
return ''
|
return ''
|
||||||
|
|
Loading…
Reference in a new issue