Exemple #1
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, An Powerfull Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot."
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Show Users 🔥", data="users")],
                [
                    custom.Button.inline("Commands For Assistant",
                                         data="gibcmd")
                ],
                [
                    Button.url("Add Me to Group 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(event.chat_id,
                                 message=starttext,
                                 link_preview=False)
Exemple #2
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.from_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = (
        f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, A Powerful Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nYou Can Join My Masters Study Channel From the Button Below. \n\nPM Protection Service of [Minecraft_ProMan](t.me/Minecraft_ProMan)"
    )
    if event.from_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[[custom.Button.inline("Show Users 🔥", data="users")],
                     [
                         custom.Button.inline("Commands For Assistant",
                                              data="gibcmd")
                     ],
                     [
                         Button.url("Add Me to Group 👥",
                                    f"t.me/{bot_username}?startgroup=true")
                     ]])
    else:
        if already_added(event.from_id):
            pass
        elif not already_added(event.from_id):
            add_usersid_in_db(event.from_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            link_preview=False,
            buttons=[[Button.url("My Master", "t.me/Minecraft_ProMan")],
                     [Button.url("My Master's Channel", "t.me/AllBookPDFs")]])
Exemple #3
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    devlop = await bot.get_me()
    hmmwow = devlop.first_name
    vent = event.chat_id
    mypic = Config.ASSISTANT_START_PIC
    starttext = f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, An Powerfull Assistant Bot. \n\nMy Master [{hmmwow}](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nIf You Want Your Own Assistant You Can Deploy From Button Below. \n\nPowered By [Tamil Userbot](t.me/TamilUserBot)"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Show Users 🔥", data="users")],
                [
                    custom.Button.inline("Commands For Assistant",
                                         data="gibcmd")
                ],
                [
                    Button.url("Add Me to Group 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_file(
            event.chat_id,
            file=mypic,
            caption=starttext,
            link_preview=False,
            buttons=[
                [
                    custom.Button.inline("Deploy your TamilUserBot 🇮🇳",
                                         data="deploy")
                ],
                [Button.url("Help Me ❓", "t.me/TamilUserBot")],
            ],
        )
        if os.path.exists(mypic):
            os.remove(mypic)
Exemple #4
0
async def start(event):
    pro = await bot.get_me()
    boy = pro.id
    iam = await xbot.get_me()
    bot_id = iam.first_name
    bot_username = iam.username
    replied_user = await xbot(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    devlop = await bot.get_me()
    hmmwow = devlop.first_name
    vent = event.chat_id
    mypic = PHOTO
    starttext = f"Hello, **{firstname}**!!\nNice To Meet You 🤗 !!\nI guess, that you know me, Uhh you don't, np..\nWell I'm **{bot_id}**.\n\n**A Pᴏᴡᴇʀғᴜʟ Assɪᴛᴀɴᴛ Oғ** [{hmmwow}](tg://user?id={boy})\n\n                           **Pᴏᴡᴇʀᴇᴅ Bʏ** [NEXTRON](t.me/ZEROTWOSUPPORT)\n\n**Yᴏᴜ Cᴀɴ Cʜᴀᴛ Wɪᴛʜ Mʏ Mᴀsᴛᴇʀ Tʜʀᴏᴜɢʜ Tʜɪs Bᴏᴛ.**\n**Iғ Yᴏᴜ Wᴀɴᴛ Yᴏᴜʀ Oᴡɴ Assɪᴛᴀɴᴛ Yᴏᴜ Cᴀɴ Dᴇᴘʟᴏʏ Fʀᴏᴍ Bᴜᴛᴛᴏɴ Bᴇʟᴏᴡ.**"
    if event.sender_id == boy:
        await xbot.send_message(
            event.chat_id,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant !! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Bᴏᴛ Usᴇʀs 🔥", data="users")],
                [custom.Button.inline("Hᴇʀᴏᴋᴜ Mᴇɴᴜ ⚙️", data="ass_back")],
                [
                    Button.url("Iɴᴠɪᴛᴇ Mᴇ Tᴏ A Gʀᴏᴜᴘ 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await xbot.send_file(
            event.chat_id,
            file=mypic,
            caption=starttext,
            link_preview=False,
            buttons=[
                [
                    custom.Button.url(
                        "Dᴇᴘʟᴏʏ Yᴏᴜʀ Oᴡɴ NEXTRON",
                        "http://GitHub.com/majid-nex/nextron-bot")
                ],
                [Button.url("Sᴜᴘᴘᴏʀᴛ", "t.me/zerotwosipport")],
            ],
        )
        if os.path.exists(mypic):
            os.remove(mypic)
Exemple #5
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    moi = await bot.get_me()
    master = moi.first_name
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, An Powerfull Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nIf You Want Your Own Assistant You Can Deploy From Button Below. \n\nPowered By [DarkCobra](https://t.me/Dark_cobra_support)"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            file=botpic,
            buttons=[
                [
                    custom.Button.inline("Show Users 🔥", data="users"),
                    custom.Button.inline("Assistant Cmds", data="gibcmd"),
                ],
                [custom.Button.inline(f"About {master}", data="whoishe")],
                [
                    Button.url("Add Me to Group 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            file=botpic,
            link_preview=False,
            buttons=[
                [custom.Button.inline(f"About {master}", data="whoishe")],
                [
                    custom.Button.inline("Deploy your DarkCobra 🐍",
                                         data="deploy")
                ],
            ],
        )
Exemple #6
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, An Powerfull Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nIf You Want Your Own Assistant You Can Deploy From Button Below. \n\nPowered By [вℓα¢к ℓιgнтηιηg](https://t.me/lightningsupport)"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Show Users 🔥", data="users")],
                [
                    custom.Button.inline("Commands For Assistant",
                                         data="gibcmd")
                ],
                [
                    Button.url("Add Me to Group 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            link_preview=False,
            buttons=[
                [
                    custom.Button.inline("Deploy your Black Lightning ",
                                         data="deploy")
                ],
                [Button.url("Help Me ❓", "https://t.me/lightningsupport")],
                [
                    Button.url("Lightning Web💫",
                               "https://lightninguserbot.blogspot.com")
                ],
            ],
        )
Exemple #7
0
async def start(event):
    perubot = await tgbot.get_me()
    bot_id = perubot.first_name
    bot_username = perubot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = f"Hello, {firstname} ! I Am {bot_id}, An Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \n"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Show Users ", data="users")],
                [
                    custom.Button.inline("Commands For Assistant",
                                         data="gibcmd")
                ],
                [
                    Button.url("Add Me to Group ",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            link_preview=False,
            buttons=[
                [custom.Button.inline("Deploy your Eliza", data="deploy")],
                [Button.url("Help Me ", "t.me/elizasupport01")],
            ],
        )
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = f"Hello, {firstname} ! Senang Bertemu Anda, Saya {bot_id},  Bot Asisten. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nAnda Dapat Berbicara / Menghubungi Master Saya Menggunakan Bot Ini. \n\nJika Anda Ingin Asisten Anda Sendiri, Anda Dapat Menerapkan Dari Tombol Di Bawah Ini. \n\nPowered By [WillyamWillys](https://t.me/willyamwillys)"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hai Master, Ini Aku {bot_id}, Asisten Anda ! \nApa yang Ingin Anda Lakukan hari ini ?",
            buttons=[
                [custom.Button.inline("Tampilkan Pengguna 🔥", data="users")],
                [
                    custom.Button.inline("Perintah Untuk Asisten",
                                         data="gibcmd")
                ],
                [
                    Button.url("Tambahkan Saya ke Grup 👥",
                               f"t.me/{bot_username}?startgroup=true")
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            link_preview=False,
            buttons=[
                [custom.Button.inline("Deploy your Bot ", data="deploy")],
                [Button.url("Help Me ❓", "https://t.me/willyamwillys")],
            ],
        )
Exemple #9
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    mypic = "https://t.me/useless_x/2"
    starttext = f"Hello, {firstname} ! Nice To Meet You, Well I Am {bot_id}, An Powerfull Assistant Bot. \n\nMy [➤ Master](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nIf You Want Your Own Assistant You Can Deploy From Button Below. \n\nPowered By [Marshmello](https://t.me/MarshmelloBot_officiall) \n. Hit This To check my commands --> /help"
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[
                [custom.Button.inline("Show Users 🔥", data="users")],
                [custom.Button.inline("Commands For Assistant", data="gibcmd")],
                [
                    Button.url(
                        "Add Me to Group 👥", f"t.me/{bot_username}?startgroup=true"
                    )
                ],
            ],
        )
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(
            event.chat_id,
            message=starttext,
            link_preview=False,
            buttons=[
                [custom.Button.inline("Deploy your Marshmello Bot", data="deploy")],
                [Button.url("Help Me ❓", "https://t.me/Marshmellobot_officiall")],
            ],
        )
Exemple #10
0
async def start(event):
    starkbot = await tgbot.get_me()
    bot_id = starkbot.first_name
    bot_username = starkbot.username
    replied_user = await event.client(GetFullUserRequest(event.sender_id))
    firstname = replied_user.user.first_name
    vent = event.chat_id
    starttext = (
        f"Hello, {firstname}, I'm [Promote Links 🇵🇭](tg://user?id={bot.uid})'s Bot. \n Please proceed to @ppromotelinksbot or click the button below. Thank you!"
    )
    if event.sender_id == bot.uid:
        await tgbot.send_message(
            vent,
            message=
            f"Hi Master, It's Me {bot_id}, Your Assistant ! \nWhat You Wanna Do today ?",
            buttons=[[custom.Button.inline("Show Users 🔥", data="users")],
                     [
                         custom.Button.inline("Commands For Assistant",
                                              data="gibcmd")
                     ],
                     [
                         Button.url("Add Me to Group 👥",
                                    f"t.me/{bot_username}?startgroup=true")
                     ]])
    else:
        if already_added(event.sender_id):
            pass
        elif not already_added(event.sender_id):
            add_usersid_in_db(event.sender_id)
        await tgbot.send_message(event.chat_id,
                                 message=starttext,
                                 link_preview=False,
                                 buttons=[[
                                     Button.url("➡️ SUBMIT YOUR LINK HERE ⬅️",
                                                "t.me/ppromotelinksbot")
                                 ]])