something
This commit is contained in:
parent
dbd178bc6d
commit
d941f71cd1
@ -105,7 +105,7 @@ async def left_handler(_, chat_id: int):
|
|||||||
|
|
||||||
@call_py.on_stream_end()
|
@call_py.on_stream_end()
|
||||||
async def stream_end_handler(_, u: Update):
|
async def stream_end_handler(_, u: Update):
|
||||||
if isinstance(u, StreamAudioEnded) or isinstance(u, StreamVideoEnded):
|
if isinstance(u, StreamAudioEnded):
|
||||||
chat_id = u.chat_id
|
chat_id = u.chat_id
|
||||||
print(chat_id)
|
print(chat_id)
|
||||||
op = await skip_current_song(chat_id)
|
op = await skip_current_song(chat_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user