Skip to content

Commit

Permalink
Update help.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AloneXBot authored May 25, 2023
1 parent 7984550 commit 5a7b65c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions AltBots/modules/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from config import X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, SUDO_USERS, CMD_HNDLR as hl


HELP_STRING = f"★ 𝙓𝘽𝙤𝙩𝙨 𝙃𝙚𝙡𝙥 𝙈𝙚𝙣𝙪 ★\n\n» **ᴄʟɪᴄᴋ ᴏɴ ʙᴇʟᴏᴡ ʙᴜᴛᴛᴏɴꜱ ꜰᴏʀ ʜᴇʟᴘ**\n» **ᴅᴇᴠᴇʟᴏᴘᴇʀ: @PyXen**"
HELP_STRING = f"★ 𝘼𝙡𝙤𝙣𝙚𝙓 𝙃𝙚𝙡𝙥 𝙈𝙚𝙣𝙪 ★\n\n» **ᴄʟɪᴄᴋ ᴏɴ ʙᴇʟᴏᴡ ʙᴜᴛᴛᴏɴꜱ ꜰᴏʀ ʜᴇʟᴘ**\n» **ᴅᴇᴠᴇʟᴏᴘᴇʀ: @ALONE_WAS_BOT**"

HELP_BUTTON = [
[
Expand All @@ -14,8 +14,8 @@
Button.inline("• ᴇxᴛʀᴀ •", data="extra")
],
[
Button.url("• ᴄʜᴀɴɴᴇʟ •", "https://t.me/TheAltron"),
Button.url("• sᴜᴘᴘᴏʀᴛ •", "https://t.me/AltronChats")
Button.url("• ᴄʜᴀɴɴᴇʟ •", "https://t.me/AloneXBots"),
Button.url("• sᴜᴘᴘᴏʀᴛ •", "https://t.me/AlonesHeaven")
]
]

Expand All @@ -34,7 +34,7 @@ async def help(event):
if event.sender_id in SUDO_USERS:
try:
await event.client.send_file(event.chat_id,
"https://te.legra.ph/file/07d39b85c6cea32f15259.jpg",
"https://telegra.ph//file/9e8ce3092848a1bc5d9d6.jpg",
caption=HELP_STRING,
buttons=HELP_BUTTON
)
Expand Down Expand Up @@ -136,13 +136,13 @@ async def helpback(event):
Button.inline("• ᴇxᴛʀᴀ •", data="extra")
],
[
Button.url("• ᴄʜᴀɴɴᴇʟ •", "https://t.me/TheAltron"),
Button.url("• sᴜᴘᴘᴏʀᴛ •", "https://t.me/AltronChats")
Button.url("• ᴄʜᴀɴɴᴇʟ •", "https://t.me/AloneXBots"),
Button.url("• sᴜᴘᴘᴏʀᴛ •", "https://t.me/AlonesHeaven")
]
]
)
else:
await event.answer("Make Your Own Altron Bots !! @PyXen", cache_time=0, alert=True)
await event.answer("Make Your Own Altron Bots !! @ALONE_WAS_BOT", cache_time=0, alert=True)


@X1.on(events.CallbackQuery(pattern=r"spam"))
Expand All @@ -161,7 +161,7 @@ async def help_spam(event):
buttons=[[Button.inline("< Back", data="help_back"),],],
)
else:
await event.answer("Make Your Own Altron Bots !! @PyXen", cache_time=0, alert=True)
await event.answer("Make Your Own Altron Bots !! @ALONE_WAS_BOT", cache_time=0, alert=True)


@X1.on(events.CallbackQuery(pattern=r"raid"))
Expand All @@ -180,7 +180,7 @@ async def help_raid(event):
buttons=[[Button.inline("< Back", data="help_back"),],],
)
else:
await event.answer("Make Your Own Altron Bots !! @PyXen", cache_time=0, alert=True)
await event.answer("Make Your Own Altron Bots !! @ALONE_WAS_BOT", cache_time=0, alert=True)


@X1.on(events.CallbackQuery(pattern=r"extra"))
Expand All @@ -199,4 +199,4 @@ async def help_extra(event):
buttons=[[Button.inline("< Back", data="help_back"),],],
)
else:
await event.answer("Make Your Own Altron Bots !! @PyXen", cache_time=0, alert=True)
await event.answer("Make Your Own Altron Bots !! @ALONE_WAS_BOT", cache_time=0, alert=True)

0 comments on commit 5a7b65c

Please sign in to comment.