mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 19:24: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()):
|
) not in set(ANON.keys()):
|
||||||
try:
|
try:
|
||||||
await CallbackQuery.message.edit_text("Button has been Expired.")
|
await CallbackQuery.message.edit_text("Button has been Expired.")
|
||||||
except pyrogram.types.RPCError:
|
except pyrogram.errors.RPCError:
|
||||||
with contextlib.suppress(pyrogram.types.RPCError):
|
with contextlib.suppress(pyrogram.errors.RPCError):
|
||||||
await CallbackQuery.message.delete()
|
await CallbackQuery.message.delete()
|
||||||
return
|
return
|
||||||
cb = ANON.pop(
|
cb = ANON.pop(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue