Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions LaylaRobot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def get_readable_time(seconds: int) -> str:


PM_START_TEXT = """
Hello, I'M Layla
Hello, I'M devil kid
`ɪ'ᴍ ʜᴇʀᴇ ᴛᴏ ʜᴇʟᴘ ʏᴏᴜ ᴍᴀɴᴀɢᴇ ʏᴏᴜʀ ɢʀᴏᴜᴘꜱ! ʜɪᴛ` /help
Maintained by @HEROGAMERS1
Maintained by @kiddo_of_tele
"""

buttons = [
Expand All @@ -103,11 +103,10 @@ def get_readable_time(seconds: int) -> str:


HELP_STRINGS = """
`Hi.. I'M` Layla
`Hi.. I'M` devil kid
`ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ ʙᴜᴛᴛᴏɴꜱ ʙᴇʟᴏᴡ ᴛᴏ ɢᴇᴛ ᴅᴏᴄᴜᴍᴇɴᴛᴀᴛɪᴏɴ ᴀʙᴏᴜᴛ ꜱᴘᴇᴄɪꜰɪᴄ ᴍᴏᴅᴜʟᴇꜱ..`
Powered by :- [Awesome Bots](t.me/Laylalist)"""

layla_IMG = "https://telegra.ph/file/524b78577a42b02b2f074.jpg"
Powered by :- [kidbots](https://t.me/kidhub)"""
devil_IMG = "https://telegra.ph/file/03b3cbdf5da34dd854bf4.jpg"

DONATE_STRING = """Heya, glad to hear you want to donate!
You can support the project [Hero](t.me/HEROGAMERS1) \
Expand Down Expand Up @@ -357,7 +356,7 @@ def layla_about_callback(update, context):
query = update.callback_query
if query.data == "layla_":
query.message.edit_text(
text=""" ℹ️ I'm *Layla*, a powerful group management bot built to help you manage your group easily.
text=""" ℹ️ I'm *devil kid*, a powerful group management bot built to help you manage your group easily.
\n❍ I can restrict users.
\n❍ I can greet users with customizable welcome messages and even set a group's rules.
\n❍ I have an advanced anti-flood system.
Expand All @@ -380,7 +379,7 @@ def layla_about_callback(update, context):
]
),
)
elif query.data == "layla_back":
elif query.data == "devil kidback":
query.message.edit_text(
PM_START_TEXT,
reply_markup=InlineKeyboardMarkup(buttons),
Expand All @@ -395,7 +394,7 @@ def Source_about_callback(update, context):
query = update.callback_query
if query.data == "source_":
query.message.edit_text(
text=""" Hi..🤗 I'm *Layla*
text=""" Hi..🤗 I'm *devil kid*
\nHere is the [Source Code](https://github.com/QueenArzoo/LaylaRobot) .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
Expand Down