Initial Commit

This commit is contained in:
Avishkar Patil
2021-06-05 13:48:07 +05:30
committed by GitHub
parent 265c712c12
commit 7d61e950d4

View File

@@ -16,7 +16,7 @@ async def start(b, m):
await db.add_user(m.from_user.id)
await b.send_message(
Var.BIN_CHANNEL,
f"#NEW_USER: \n\nNew User [{m.from_user.first_name}](tg://user?id={m.from_user.id}) Started !!"
f"Nᴇ Usᴇʀ Jɪɴᴇᴅ: \n\nMʏ Nᴇɪᴇɴᴅ [{m.from_user.first_name}](tg://user?id={m.from_user.id}) Sᴛᴀʀᴛᴇᴅ Yʀ B !!"
)
usr_cmd = m.text.split("_")[-1]
if usr_cmd == "/start":
@@ -26,7 +26,7 @@ async def start(b, m):
if user.status == "kicked":
await b.send_message(
chat_id=m.chat.id,
text="__Sorry Sir, You are Banned to use me. Contact the Developer__",
text="__Sᴏʀʀʏ Sɪʀ, Y ᴀʀᴇ Bᴀɴɴᴇᴅ ᴛᴏ sᴇ ᴍᴇ. Cɴᴛᴀᴛ ᴛʜᴇ Dᴇᴇʟᴘᴇʀ__\n\n @AvishkarPatil **Tʜᴇʏ Wɪʟʟ Hᴇʟᴘ Y**",
parse_mode="markdown",
disable_web_page_preview=True
)
@@ -34,7 +34,7 @@ async def start(b, m):
except UserNotParticipant:
await b.send_message(
chat_id=m.chat.id,
text="<i>Jɪɴ ᴍʏ ᴜᴘᴅᴀᴛᴇ ᴄʜᴀɴɴᴇʟ ᴛᴏ ᴇ ᴍᴇ 🔐</i>",
text="<i>Jɪɴ ᴍʏ ᴜᴘᴅᴀᴛᴇ ᴄʜᴀɴɴᴇʟ ᴛᴏ sᴇ ᴍᴇ 🔐</i>",
reply_markup=InlineKeyboardMarkup(
[
[
@@ -73,7 +73,7 @@ async def start(b, m):
if user.status == "kicked":
await b.send_message(
chat_id=m.chat.id,
text="Sorry Sir, You are Banned to use me. Quickly contact @Avishkarpatil",
text="Sᴏʀʀʏ Sɪʀ, Y ᴀʀᴇ Bᴀɴɴᴇᴅ ᴛᴏ sᴇ ᴍᴇ. Qɪᴋʟʏ ᴄᴏɴᴛᴀᴄᴛ @Avishkarpatil",
parse_mode="markdown",
disable_web_page_preview=True
)
@@ -81,7 +81,7 @@ async def start(b, m):
except UserNotParticipant:
await b.send_message(
chat_id=m.chat.id,
text="**Please Join My Updates Channel to use this Bot!**\n\nDue to Overload, Only Channel Subscribers can use the Bot!",
text="**Pʟᴇᴀsᴇ Jɪɴ Mʏ Uᴘᴅᴀᴛᴇs Cʜᴀɴɴᴇʟ ᴛᴏ sᴇ ᴛʜɪs B**!\n\n**Dᴇ ᴛᴏ Oᴇʀʟᴀᴅ, Oɴʟʏ Cʜᴀɴɴᴇʟ Sʙsʀɪʙᴇʀs ᴄᴀɴ sᴇ ᴛʜᴇ Bᴛ**!",
reply_markup=InlineKeyboardMarkup(
[
[
@@ -89,7 +89,7 @@ async def start(b, m):
],
[
InlineKeyboardButton("🔄 Refresh / Try Again",
url=f"https://t.me/F2LxBot.herokuapp.com/{usr_cmd}")
url=f"https://t.me/F2LxBot.herokuapp.com/{usr_cmd}") # Chnage ur app name
]
]
),
@@ -99,7 +99,7 @@ async def start(b, m):
except Exception:
await b.send_message(
chat_id=m.chat.id,
text="Something went Wrong. Contact me [Avishkar Patil](https://t.me/Avishkarpatil).",
text="**Sᴍᴇᴛʜɪɴɢ ᴡᴇɴᴛ Wʀɴɢ. Cɴᴛᴀᴛ ᴍᴇ** [Aɪsʜᴋᴀʀ Pᴀᴛɪʟ](https://t.me/Avishkarpatil).",
parse_mode="markdown",
disable_web_page_preview=True)
return
@@ -155,7 +155,7 @@ async def help_handler(bot, message):
await db.add_user(message.from_user.id)
await bot.send_message(
Var.BIN_CHANNEL,
f"#NEW_USER: \n\nNew User [{message.from_user.first_name}](tg://user?id={message.from_user.id}) Started !!"
f"Nᴇ Usᴇʀ Jɪɴᴇᴅ \n\nMʏ Nᴇɪᴇɴᴅ [{message.from_user.first_name}](tg://user?id={message.from_user.id}) Started Your Bot !!"
)
if Var.UPDATES_CHANNEL is not None:
try:
@@ -163,7 +163,7 @@ async def help_handler(bot, message):
if user.status == "kicked":
await bot.send_message(
chat_id=message.chat.id,
text="<i>Sorry Sir, You are Banned to use me.</i>",
text="<i>Sᴏʀʀʏ Sɪʀ, Y ᴀʀᴇ Bᴀɴɴᴇᴅ ᴛᴏ sᴇ ᴍᴇ. Cɴᴛᴀᴛ ᴛʜᴇ Dᴇᴇʟᴘᴇʀ</i>",
parse_mode="HTML",
disable_web_page_preview=True
)
@@ -171,11 +171,11 @@ async def help_handler(bot, message):
except UserNotParticipant:
await bot.send_message(
chat_id=message.chat.id,
text="**Please Join My Updates Channel to use this Bot!**\n\nDue to Overload, Only Channel Subscribers can use the Bot!",
text="**Pʟᴇᴀsᴇ Jɪɴ Mʏ Uᴘᴅᴀᴛᴇs Cʜᴀɴɴᴇʟ ᴛᴏ sᴇ ᴛʜɪs Bᴏᴛ!**\n\n__Dᴇ ᴛᴏ Oᴇʀʟᴀᴅ, Oɴʟʏ Cʜᴀɴɴᴇʟ Sʙsʀɪʙᴇʀs ᴄᴀɴ sᴇ ᴛʜᴇ Bᴛ!__",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton("🤖 Join Updates Channel", url=f"https://t.me/{Var.UPDATES_CHANNEL}")
InlineKeyboardButton("🤖 Jᴏɪɴ Uᴘᴅᴀᴛᴇs Cʜᴀɴɴᴇʟ", url=f"https://t.me/{Var.UPDATES_CHANNEL}")
]
]
),
@@ -185,7 +185,7 @@ async def help_handler(bot, message):
except Exception:
await bot.send_message(
chat_id=message.chat.id,
text="__Something went Wrong. Contact me__ [Avishkar Patil](https://t.me/Avishkarpatil).",
text="__Sᴏᴍᴇᴛʜɪɴɢ ᴡᴇɴᴛ Wʀɴɢ. Cɴᴛᴀᴛ ᴍᴇ__ [Aɪsʜᴋᴀʀ Pᴀᴛɪʟ](https://t.me/Avishkarpatil).",
parse_mode="markdown",
disable_web_page_preview=True)
return