This commit is contained in:
levina 2022-02-08 00:03:55 +07:00 committed by GitHub
parent 72b6da8a31
commit 1696317e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ async def skip_current_song(chat_id):
if chat_id in QUEUE:
chat_queue = get_queue(chat_id)
if len(chat_queue) == 1:
await call_py.leave_group_call(chat_id)
await calls.leave_group_call(chat_id)
clear_queue(chat_id)
return 1
else: