Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update __main__.py #23

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
Update __main__.py
Sanju-samson authored Jun 22, 2021
commit b797b067e255ab8c1a309ce8ca5b9e70ba29dbb1
28 changes: 14 additions & 14 deletions LaylaRobot/__main__.py
Original file line number Diff line number Diff line change
@@ -74,9 +74,9 @@ def get_readable_time(seconds: int) -> str:


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

buttons = [
@@ -87,13 +87,13 @@ def get_readable_time(seconds: int) -> str:
[
InlineKeyboardButton(text="ᴀʙᴏᴜᴛ", callback_data="layla_"),
InlineKeyboardButton(
text="ꜱᴜᴘᴘᴏʀᴛ", url=f"https://t.me/{SUPPORT_CHAT}"
text="ꜱᴜᴘᴘᴏʀᴛ", url=f"https://t.me/kannada_friends_chatting"
),
],
[
InlineKeyboardButton(text="ʟᴏɢꜱ", url=f"https://t.me/laylalogs"),
InlineKeyboardButton(
text="ꜰᴇᴅᴇʀᴀᴛɪᴏɴ", url=f"https://t.me/AntiRippingOrganization/410"
text="ꜰᴇᴅᴇʀᴀᴛɪᴏɴ", url=f"https://t.me/donfederation"
),
],
[
@@ -103,15 +103,15 @@ def get_readable_time(seconds: int) -> str:


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

layla_IMG = "https://telegra.ph/file/524b78577a42b02b2f074.jpg"
layla_IMG = "https://telegra.ph/file/bc5cc580de7963cbd14b4.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) \
You can support the project [Hero](t.me/kannada_friends_chatting) \
Supporting isnt always financial! [AwesomeSupport](t.me/kannada_friends_chatting) \
Those who cannot provide monetary support are welcome to help us develop the bot at ."""

IMPORTED = {}
@@ -365,10 +365,10 @@ def layla_about_callback(update, context):
\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❍ Awesome Bots @kannada_friends_chatting
\n❍ Support Group @kannada_friends_chatting
\n❍ Assistant @LaylaAssistant.
\nHere is the [💾Repository](https://github.com/QueenArzoo/LaylaRobot).
\nHere is the [💾Repository](https://github.com/sanju-samson/LaylaRobot).
\n\nIf you have any question about Layla, let us know at .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
@@ -395,8 +395,8 @@ def Source_about_callback(update, context):
query = update.callback_query
if query.data == "source_":
query.message.edit_text(
text=""" Hi..🤗 I'm *Layla*
\nHere is the [Source Code](https://github.com/QueenArzoo/LaylaRobot) .""",
text=""" Hi..🤗 I'm *Creator Raksha*
\nHere is the [Source Code](https://github.com/sanju-samson/LaylaRobot) .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
reply_markup=InlineKeyboardMarkup(