This commit is contained in:
bakatrouble 2019-01-26 10:35:46 +03:00
parent 44ea81e1b0
commit 96b3b9c126

View File

@ -62,7 +62,7 @@ class VKMusicFeedModuleConfig(FeedModuleConfig):
lst = [audio] + lst lst = [audio] + lst
else: else:
break break
for track in reversed(lst): for track in lst:
f = get_file(track['url'], vk_session.http) f = get_file(track['url'], vk_session.http)
bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'], bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'],
title=track['title']) title=track['title'])