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 [Friday Userbot](t.me/FridayOT)" 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 a bot like this", data="deploy") ], [Button.url("Help Me ❓", "t.me/Kaveesha_Induwara")], ], ) if os.path.exists(mypic): os.remove(mypic)
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 TWaynealk/Contact My Master Using This Bot. \n\nPowered By [Bruce ](t.me/BruceSL)" 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=[ [Button.url("💟 My Group 💟", "t.me/ehifilesl")], [Button.url("💟 My Channel 💟", "t.me/ehifiles_sl")], ], ) if os.path.exists(mypic): os.remove(mypic)
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},\nNice To Meet You! I'm [CrackXBot](t.me/CrackxCreator). \n\nMy Master: [{hmmwow}](tg://user?id={bot.uid}) \nYou Can Talk/Contact My Master Using This Bot. \n\nNOTE: All your messages here will be forwared to my MASTER\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 Usere", 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("About Me, data="deploy")], [Button.url("My Master", "t.me/CrackxCreator")], [Button.url("Anime", "t.me/AnimeGraphicz")], [Button.url("Crazy Creators", "t.me/CrazyCreatorz")] ], ) if os.path.exists(mypic): os.remove(mypic)
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 Bot. \n\nMy Master [{hmmwow}](tg://user?id={bot.uid}) You can contact my owner [{hmmwow}] using me. 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 Friday 🇮🇳", data="deploy")], [Button.url("Help Me ❓", "t.me/Dragon_Ball_Chat")], ], ) if os.path.exists(mypic): os.remove(mypic)
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 [Friday Userbot](t.me/FridayOT)" 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 Friday 🇮🇳", data="deploy")], [Button.url("Help Me ❓", "t.me/Fridayot")], ], )