mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 10:34:51 +00:00
Fix RPCError Import
This commit is contained in:
parent
f62271436e
commit
ec4285eaee
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ async def anonymous_admin_verification(
|
|||
) not in set(ANON.keys()):
|
||||
try:
|
||||
await CallbackQuery.message.edit_text("Button has been Expired.")
|
||||
except pyrogram.types.RPCError:
|
||||
with contextlib.suppress(pyrogram.types.RPCError):
|
||||
except pyrogram.errors.RPCError:
|
||||
with contextlib.suppress(pyrogram.errors.RPCError):
|
||||
await CallbackQuery.message.delete()
|
||||
return
|
||||
cb = ANON.pop(
|
||||
|
|
|
|||
Loading…
Reference in a new issue