increase timeout
This commit is contained in:
parent
17b65bb26e
commit
bb1e3361a2
@ -65,5 +65,5 @@ class VKMusicFeedModuleConfig(FeedModuleConfig):
|
|||||||
for track in 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'], timeout=30)
|
||||||
yield track['id']
|
yield track['id']
|
||||||
|
Loading…
Reference in New Issue
Block a user