diff --git a/driver/utils.py b/driver/utils.py index 9d0ba0e..7df8693 100644 --- a/driver/utils.py +++ b/driver/utils.py @@ -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: