Beispiel #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"])
Beispiel #2
0
    async def ___(__, _):
        Sira.task_done(chat_id)

        if sira.is_empty(chat_id):
            await stop(chat_id)
        else:
            GroupsP.input_filename = sira.get(chat_id)["file"]
Beispiel #3
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)
Beispiel #4
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.")
Beispiel #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("rukk abhi bdlta hun bsdk.")
Beispiel #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("⏩ Okeyy Skip, Lanjut Ke Lagu Berikutnya!")
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.")
Beispiel #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("⏩ Oke, Kamu Sudah Melewati Lagu Selanjutnya!.")
Beispiel #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ᴏɴɢ.")
Beispiel #10
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.")
Beispiel #11
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.")
Beispiel #12
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ı.")
Beispiel #13
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ɘɗ.")
Beispiel #14
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.")
Beispiel #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 TO NEXT SONG.")
Beispiel #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ı.")
Beispiel #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 ")
Beispiel #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!")
Beispiel #19
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**")