Esempio n. 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"])
Esempio n. 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)
Esempio n. 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.")
Esempio n. 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!")
Esempio n. 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!.")
Esempio n. 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.")
Esempio n. 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.")
Esempio n. 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.")
Esempio n. 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ᴏɴɢ.")
Esempio n. 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.")
Esempio n. 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ɘɗ.")
Esempio n. 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.")
Esempio n. 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.")
Esempio n. 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ı.")
Esempio n. 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**")
Esempio n. 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ı.")
Esempio n. 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 ")
Esempio n. 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!")
Esempio n. 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!")