Fixed album name

This commit is contained in:
nsde 2023-08-13 00:59:29 +02:00
parent 6b237e75ba
commit 3adbc49cfa

View file

@ -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 ''