Fix YouTube caching
This commit is contained in:
@@ -38,7 +38,7 @@ async def on_new_chosen(chosen_result: ChosenInlineResult, bot: Bot):
|
||||
duration=bytestream.duration,
|
||||
)
|
||||
|
||||
db.spotify[song.id] = audio.audio.file_id
|
||||
db.youtube[song.id] = audio.audio.file_id
|
||||
|
||||
await bot.edit_message_media(
|
||||
inline_message_id=chosen_result.inline_message_id,
|
||||
|
||||
Reference in New Issue
Block a user