Initial Commit

This commit is contained in:
Avi Patil
2021-04-22 11:54:30 +05:30
committed by GitHub
parent 04bb43f56e
commit ed04d624ef

View File

@@ -25,7 +25,7 @@ async def private_receive_handler(c: Client, m: Message):
if user.status == "kicked":
await c.send_message(
chat_id=m.chat.id,
text="Sorry Sir, You are Banned to use me. Contact my [Support Group](https://t.me/linux_repo).",
text="Sorry Sir, You are Banned to use me. developer @Avishkarpatil",
parse_mode="markdown",
disable_web_page_preview=True
)
@@ -47,7 +47,7 @@ async def private_receive_handler(c: Client, m: Message):
except Exception:
await c.send_message(
chat_id=m.chat.id,
text="Something went Wrong. Contact my [Support Group](https://t.me/linux_repo).",
text="Something went Wrong. Contact my boss @Avishkarpatil",
parse_mode="markdown",
disable_web_page_preview=True)
return
@@ -115,4 +115,4 @@ async def channel_receive_handler(bot, broadcast):
disable_web_page_preview=True, parse_mode="Markdown")
except Exception as e:
await bot.send_message(chat_id=Var.BIN_CHANNEL, text=f"#ERROR_TRACEBACK: `{e}`", disable_web_page_preview=True, parse_mode="Markdown")
print(f"Can't Edit Broadcast Message!\nError: {e}")
print(f"Can't Edit Broadcast Message!\nError: {e}")