mirror of
https://github.com/avipatilpro/FileStreamBot.git
synced 2026-01-15 14:22:53 -03:00
Initial Commit
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user