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
39 changes: 8 additions & 31 deletions LaylaRobot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,27 +74,15 @@ def get_readable_time(seconds: int) -> str:


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

"""

buttons = [
[
InlineKeyboardButton(
text="➕️ ᴀᴅᴅ ᴛᴏ ʏᴏᴜʀ ɢʀᴏᴜᴘ ➕️", url="t.me/LaylaRobot?startgroup=true"),
],
[
InlineKeyboardButton(text="ᴀʙᴏᴜᴛ", callback_data="layla_"),
InlineKeyboardButton(
text="ꜱᴜᴘᴘᴏʀᴛ", url=f"https://t.me/{SUPPORT_CHAT}"
),
],
[
InlineKeyboardButton(text="ʟᴏɢꜱ", url=f"https://t.me/laylalogs"),
InlineKeyboardButton(
text="ꜰᴇᴅᴇʀᴀᴛɪᴏɴ", url=f"https://t.me/AntiRippingOrganization/410"
),
text="➕️ ᴀᴅᴅ ᴛᴏ ʏᴏᴜʀ ɢʀᴏᴜᴘ ➕️", url="http://t.me/SerafallRobot?startgroup=true"),
],
[
InlineKeyboardButton(text="ʜᴇʟᴘ & ᴄᴏᴍᴍᴀɴᴅꜱ❔", callback_data="help_back"),
Expand All @@ -103,16 +91,11 @@ def get_readable_time(seconds: int) -> str:


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

layla_IMG = "https://telegra.ph/file/524b78577a42b02b2f074.jpg"

DONATE_STRING = """Heya, glad to hear you want to donate!
You can support the project [Hero](t.me/HEROGAMERS1) \
Supporting isnt always financial! [AwesomeSupport](t.me/LaylaList) \
Those who cannot provide monetary support are welcome to help us develop the bot at ."""

IMPORTED = {}
MIGRATEABLE = []
Expand Down Expand Up @@ -357,19 +340,13 @@ 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 *ꜱᴇʀᴀꜰᴀʟʟ*, 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.
\n❍ I can warn users until they reach max warns, with each predefined actions such as ban, mute, kick, etc.
\n❍ I have a note keeping system, blacklists, and even predetermined replies on certain keywords.
\n❍ I check for admins' permissions before executing any command and more stuffs
\n\n_Layla's licensed under the GNU General Public License v3.0_
\n❍ Awesome Bots @LaylaList
\n❍ Support Group @AwesomeSupport
\n❍ Assistant @LaylaAssistant.
\nHere is the [💾Repository](https://github.com/QueenArzoo/LaylaRobot).
\n\nIf you have any question about Layla, let us know at .""",
\n❍ I check for admins' permissions before executing any command and more stuffs.""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
reply_markup=InlineKeyboardMarkup(
Expand All @@ -395,7 +372,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 *ꜱᴇʀᴀꜰᴀʟʟ*
\nHere is the [Source Code](https://github.com/QueenArzoo/LaylaRobot) .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
Expand Down