def on_stream_end(chat_id: int) -> None: queues.task_done(chat_id) if queues.is_empty(chat_id): pytgcalls.leave_group_call(chat_id) else: pytgcalls.change_stream(chat_id, queues.get(chat_id)["file_path"])
async def skip(_, message: Message): if message.chat.id not in callsmusic.pytgcalls.active_calls: await message.reply_text(f"**{BN} :**❕ Nothing is playing to skip.") else: queues.task_done(message.chat.id) if queues.is_empty(message.chat.id): callsmusic.pytgcalls.leave_group_call(message.chat.id) else: callsmusic.pytgcalls.change_stream(message.chat.id, queues.get(message.chat.id)["file_path"]) await message.reply_text(f"**{BN} :** ⏩ Skipped the current song.")
async def skip(_, message: Message): if message.chat.id not in callsmusic.pytgcalls.active_calls: await message.reply_text(f"**{BN} :**❕ Nᴏᴛʜɪɴɢ Is Pʟᴀʏɪɴɢ Tᴏ Sᴋɪᴘ.") else: queues.task_done(message.chat.id) if queues.is_empty(message.chat.id): callsmusic.pytgcalls.leave_group_call(message.chat.id) else: callsmusic.pytgcalls.change_stream(message.chat.id, queues.get(message.chat.id)["file_path"]) await message.reply_text(f"**{BN} :** ⏩ Sᴋɪᴘᴘᴇᴅ Tʜᴇ Cᴜʀʀᴇɴᴛ Sᴏɴɢ.")
async def skip(_, message: Message): if message.chat.id not in callsmusic.pytgcalls.active_calls: await message.reply_text("❕ Tidak Ada Lagu Selanjutnya.") else: queues.task_done(message.chat.id) if queues.is_empty(message.chat.id): callsmusic.pytgcalls.leave_group_call(message.chat.id) else: callsmusic.pytgcalls.change_stream( message.chat.id, queues.get(message.chat.id)["file_path"]) await message.reply_text("⏩ Melewati Ke Lagu Selanjutnya.")
async def skip(_, message: Message): if message.chat.id not in callsmusic.pytgcalls.active_calls: await message.reply_text("❕ Atlamak için hiçbir şey çalmıyor.") else: queues.task_done(message.chat.id) if queues.is_empty(message.chat.id): callsmusic.pytgcalls.leave_group_call(message.chat.id) else: callsmusic.pytgcalls.change_stream( message.chat.id, queues.get(message.chat.id)["file_path"]) await message.reply_text("⏩ Mevcut şarkıyı atladım.")