mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-25 09:37:38 +00:00
🎨 Update exception notifications
This commit is contained in:
parent
ff84757ed3
commit
b60094eef0
@ -83,6 +83,7 @@ class ErrorHandler(Plugin):
|
|||||||
try:
|
try:
|
||||||
if update.callback_query:
|
if update.callback_query:
|
||||||
await update.callback_query.answer(content, show_alert=True)
|
await update.callback_query.answer(content, show_alert=True)
|
||||||
|
else:
|
||||||
reply_text = await message.reply_text(content, reply_markup=buttons, allow_sending_without_reply=True)
|
reply_text = await message.reply_text(content, reply_markup=buttons, allow_sending_without_reply=True)
|
||||||
if filters.ChatType.GROUPS.filter(reply_text):
|
if filters.ChatType.GROUPS.filter(reply_text):
|
||||||
self.add_delete_message_job(reply_text, context=context)
|
self.add_delete_message_job(reply_text, context=context)
|
||||||
|
Loading…
Reference in New Issue
Block a user