Пример #1
0
def on_stream_end(chat_id: int) -> None:
    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        pytgcalls.leave_group_call(chat_id)
    else:
        pytgcalls.change_stream(chat_id, sira.get(chat_id)["file_path"])
Пример #2
0
def on_stream_end(chat_id: int) -> None:
    task_done(chat_id)

    if not is_empty(chat_id):
        pytgcalls.change_stream(chat_id, get(chat_id)["file_path"])
    else:
        if chat_id in playing:
            playing.remove(chat_id)
        pytgcalls.leave_group_call(chat_id)
Пример #3
0
async def skip(client: Client, query: CallbackQuery):
    sira.task_done(query.message.chat.id)
    await query.message.edit_text("Processing ♻️")
    if sira.is_empty(query.message.chat.id):
        pytgcalls.leave_group_call(query.message.chat.id)
        await query.message.edit_text("nothing in queue")
    else:
        pytgcalls.change_stream(query.message.chat.id,
                                sira.get(query.message.chat.id)["file_path"])

        await query.message.edit_text("⏩ Skipped the current song.")
Пример #4
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("⏩ Okeyy Skip, Lanjut Ke Lagu Berikutnya!")
Пример #5
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("⏩ Oke, Kamu Sudah Melewati Lagu Selanjutnya!.")
Пример #6
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("**RAJPUTBOT:** ⏩ Skipped the current song.")
Пример #7
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("⏩ SKIP THE CURRENT SONG PM.")
Пример #8
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("rukk abhi bdlta hun bsdk.")
Пример #9
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

    await message.reply_text("NᴜʙIsʜɪᴋᴀ=⏩ Sᴋɪᴘᴘᴇᴅ ᴛʜᴇ sᴏɴɢ.")
Пример #10
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Processing")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("nothing in queue")
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

        await message.reply_text("✯𝗩𝗖𝗣𝗹𝗮𝘆𝗕𝗼𝘁✯=⏩ Skipped the current song.")
Пример #11
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)

    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
    else:
        tgcalls.pytgcalls.change_stream(
            chat_id, sira.get(chat_id)["file_path"]
        )

    await message.reply_text("**MʋsɩcRoɓo:** ⏩ Dɘʌʀ Sɩʀ/Mʌ'ɱ, Yoʋʀ cʋʀʀɘŋt soŋʛ ʜʌs ɓɘɘŋ sĸɩppɘɗ.")
Пример #12
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Processing")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("nothing in queue")
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

        await message.reply_text("𝗞𝗵𝗮𝗻 𝗠𝘂𝘀𝗶𝗰 𝗕𝗼𝘁=⏩ Cari mahnı dəyişdirildi.")
Пример #13
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Processing")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("nothing in queue")
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

        await message.reply_text("SKIPPED TO NEXT SONG.")
Пример #14
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Işleme Alındı")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("kuyrukta hiçbir şey yok")
    else:
        tgcalls.pytgcalls.change_stream(chat_id,
                                        sira.get(chat_id)["file_path"])

        await message.reply_text("〰️Wyline〰️=⏩ Geçerli şarkı atlandı.")
Пример #15
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("©𝐑𝐨𝐦𝐲𝐌𝐮𝐬𝐢𝐜𝐁𝐨𝐭 🌀 **PROCESSING**")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("nothing in queue")
    else:
        tgcalls.pytgcalls.change_stream(
            chat_id, sira.get(chat_id)["file_path"]
        )

        await message.reply_text("©𝐑𝐨𝐦𝐲𝐌𝐮𝐬𝐢𝐜𝐁𝐨𝐭 ⏩ **SKIPPED SONG**")
Пример #16
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Processing")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("nothing in queue")
    else:
        tgcalls.pytgcalls.change_stream(
            chat_id, sira.get(chat_id)["file_path"]
        )

        await message.reply_text("✯𝗕𝗼𝘁✯=⏩ Sonraki Şarkıya Atlandı.")
Пример #17
0
async def skip(client: Client, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("Processing")
    if sira.is_empty(chat_id):
        tgcalls.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("Itne nashe maat kar, NCB ka raid pad gaye ka tere ghar me......There is nothing in queue to skip")
    else:
        tgcalls.pytgcalls.change_stream(
            chat_id, sira.get(chat_id)["file_path"]
        )

        await message.reply_text("Ok sue, apka agla ganna baja rahe hain ")
Пример #18
0
async def skip(client: Client, message: Message):
    if message.chat.id not in tgcalls.GroupsOn:
        await message.reply_text("No set stream")
    else:
        sira.task_done(message.chat.id)

        if sira.is_empty(message.chat.id):
            await tgcalls.gooff(message.chat.id)
        else:
            await tgcalls.setsong(
                message.chat.id, sira.get(message.chat.id)["file"]
            )

        await message.reply_text("Skipped!")
Пример #19
0
async def skip(_, message: Message):
    chat_id = message.chat.id

    sira.task_done(chat_id)
    await message.reply_text("⏭ Memproses...")
    if callsmusic.queues.is_empty(message.chat.id):
        callsmusic.pytgcalls.leave_group_call(chat_id)
        await message.reply_text("Tidak ada musik dalam antrian")
    else:
        callsmusic.pytgcalls.change_stream(
            message.chat.id,
            callsmusic.queues.get(message.chat.id)["file"])

        await message.reply_text("🔂 Melanjutkan ke lagu berikutnya!")