mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +00:00
Rewrite IMDB Module
This commit is contained in:
parent
972fcdcac7
commit
cc1689ee57
2 changed files with 3 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ def capture_err(func):
|
||||||
try:
|
try:
|
||||||
await app.send_message(LOG_CHANNEL, x)
|
await app.send_message(LOG_CHANNEL, x)
|
||||||
await message.reply(x)
|
await message.reply(x)
|
||||||
except FloodWait:
|
except FloodWait as e:
|
||||||
await asyncio.sleep(x.value)
|
await asyncio.sleep(e.value)
|
||||||
raise err
|
raise err
|
||||||
|
|
||||||
return capture
|
return capture
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
from logging import getLogger
|
from logging import getLogger
|
||||||
|
from utils import demoji
|
||||||
from pykeyboard import InlineKeyboard
|
from pykeyboard import InlineKeyboard
|
||||||
from pyrogram.types import (
|
from pyrogram.types import (
|
||||||
InlineKeyboardMarkup,
|
InlineKeyboardMarkup,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue