azils3/bash
0
1# Ultroid - UserBot2# Copyright (C) 2021-2025 TeamUltroid3#4# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >5# PLease read the GNU Affero General Public License in6# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.7 8import re9 10from . import *11 12STRINGS = {13 1: """🎇 **Thanks for Deploying Ultroid Userbot!**14 15• Here, are the Some Basic stuff from, where you can Know, about its Usage.""",16 2: """🎉** About Ultroid**17 18🧿 Ultroid is Pluggable and powerful Telethon Userbot, made in Python from Scratch. It is Aimed to Increase Security along with Addition of Other Useful Features.19 20❣ Made by **@TeamUltroid**""",21 3: """**💡• FAQs •**22 23-> [Username Tracker](https://t.me/UltroidUpdates/24)24-> [Keeping Custom Addons Repo](https://t.me/UltroidUpdates/28)25-> [Disabling Deploy message](https://t.me/UltroidUpdates/27)26-> [Setting up TimeZone](https://t.me/UltroidUpdates/22)27-> [About Inline PmPermit](https://t.me/UltroidUpdates/21)28-> [About Dual Mode](https://t.me/UltroidUpdates/18)29-> [Custom Thumbnail](https://t.me/UltroidUpdates/13)30-> [About FullSudo](https://t.me/UltroidUpdates/11)31-> [Setting Up PmBot](https://t.me/UltroidUpdates/2)32-> [Also Check](https://t.me/UltroidUpdates/14)33 34**• To Know About Updates**35 - Join @TeamUltroid.""",36 4: f"""• `To Know All Available Commands`37 38 - `{HNDLR}help`39 - `{HNDLR}cmds`""",40 5: """• **For Any Other Query or Suggestion**41 - Move to **@UltroidSupportChat**.42 43• Thanks for Reaching till END.""",44}45 46 47@callback(re.compile("initft_(\\d+)"))48async def init_depl(e):49 CURRENT = int(e.data_match.group(1))50 if CURRENT == 5:51 return await e.edit(52 STRINGS[5],53 buttons=Button.inline("<< Back", "initbk_4"),54 link_preview=False,55 )56 57 await e.edit(58 STRINGS[CURRENT],59 buttons=[60 Button.inline("<<", f"initbk_{str(CURRENT - 1)}"),61 Button.inline(">>", f"initft_{str(CURRENT + 1)}"),62 ],63 link_preview=False,64 )65 66 67@callback(re.compile("initbk_(\\d+)"))68async def ineiq(e):69 CURRENT = int(e.data_match.group(1))70 if CURRENT == 1:71 return await e.edit(72 STRINGS[1],73 buttons=Button.inline("Start Back >>", "initft_2"),74 link_preview=False,75 )76 77 await e.edit(78 STRINGS[CURRENT],79 buttons=[80 Button.inline("<<", f"initbk_{str(CURRENT - 1)}"),81 Button.inline(">>", f"initft_{str(CURRENT + 1)}"),82 ],83 link_preview=False,84 )85 