コード例 #1
0
async def original(event):
    if not event.pattern_match.group(1):
        return await event.edit("give query to search.")
    vcky = event.pattern_match.group(1)
    event = await event.edit("Getting lyrics..")
    dc = random.randrange(1, 3)
    if dc == 1:
        fromvt = "AIzaSyAyDBsY3WRtB5YPC6aB_w8JAy6ZdXNc6FU"
    if dc == 2:
        fromvt = "AIzaSyBF0zxLlYlPMp9xwMQqVKCQRq8DgdrLXsg"
    if dc == 3:
        fromvt = "AIzaSyDdOKnwnPwVIQ_lbH5sYE4FoXjAKIQV0DQ"
    extract_lyrics = sl(f"{fromvt}", "15b9fb6193efd5d90")
    sh1vm = extract_lyrics.get_lyrics(f"{vcky}")
    a7ul = sh1vm["lyrics"]
    await event.client.send_message(event.chat_id,
                                    a7ul,
                                    reply_to=event.reply_to_msg_id)
    await event.delete()
コード例 #2
0
async def original(event):
    if not event.pattern_match.group(1):
        return await eor(event, "give query to search.")
    noob = event.pattern_match.group(1)
    ab = await eor(event, 'Getting lyrics..')
    dc = (random.randrange(1, 3))
    if dc == 1:
        danish = "AIzaSyAyDBsY3WRtB5YPC6aB_w8JAy6ZdXNc6FU"
    if dc == 2:
        danish = "AIzaSyBF0zxLlYlPMp9xwMQqVKCQRq8DgdrLXsg"
    if dc == 3:
        danish = "AIzaSyDdOKnwnPwVIQ_lbH5sYE4FoXjAKIQV0DQ"
    extract_lyrics = sl(f"{danish}", "15b9fb6193efd5d90")
    sh1vm = extract_lyrics.get_lyrics(f"{noob}")
    a7ul = sh1vm['lyrics']
    await ultroid_bot.send_message(event.chat_id,
                                   a7ul,
                                   reply_to=event.reply_to_msg_id)
    await ab.delete()
コード例 #3
0
async def original(event):
    if not event.pattern_match.group(1):
        return await event.edit(
            "King , Beri Saya Sebuah Judul Lagu Untuk Mencari Lirik.\n**Contoh** : `.lyrics` <Judul Lagu>"
        )
    kenzo = event.pattern_match.group(1)
    event = await event.edit("`🔍 Sedang Mencari Lirik Lagu...`")
    dc = random.randrange(1, 3)
    if dc == 1:
        kInG = a1
    elif dc == 2:
        kInG = a2
    elif dc == 3:
        kInG = a3
    extract_lyrics = sl(f"{kInG}", "15b9fb6193efd5d90")
    k3nz = extract_lyrics.get_lyrics(f"{kenzo}")
    ap1s = k3nz["lyrics"]
    await event.client.send_message(event.chat_id, ap1s, reply_to=event.reply_to_msg_id)
    await event.delete()
コード例 #4
0
async def original(event):
    if not event.pattern_match.group(1):
        return await event.edit(
            "Beri Saya Sebuah Judul Lagu Untuk Mencari Lirik.\n**Contoh** : `.lirik` <Judul Lagu>"
        )
    geez = event.pattern_match.group(1)
    event = await event.edit("`Sedang Mencari Lirik Lagu...`")
    dc = random.randrange(1, 3)
    if dc == 1:
        piki = "AIzaSyAyDBsY3WRtB5YPC6aB_w8JAy6ZdXNc6FU"
    if dc == 2:
        piki = "AIzaSyBF0zxLlYlPMp9xwMQqVKCQRq8DgdrLXsg"
    if dc == 3:
        piki = "AIzaSyDdOKnwnPwVIQ_lbH5sYE4FoXjAKIQV0DQ"
    extract_lyrics = sl(f"{piki}", "15b9fb6193efd5d90")
    sh1vm = extract_lyrics.get_lyrics(f"{geez}")
    a7ul = sh1vm["lyrics"]
    await event.client.send_message(event.chat_id,
                                    a7ul,
                                    reply_to=event.reply_to_msg_id)
    await event.delete()