something

This commit is contained in:
levina 2021-11-27 11:08:55 +07:00 committed by GitHub
parent dbd178bc6d
commit d941f71cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ async def left_handler(_, chat_id: int):
@call_py.on_stream_end()
async def stream_end_handler(_, u: Update):
if isinstance(u, StreamAudioEnded) or isinstance(u, StreamVideoEnded):
if isinstance(u, StreamAudioEnded):
chat_id = u.chat_id
print(chat_id)
op = await skip_current_song(chat_id)