mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Update dev.py
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
c21d809fd7
commit
6f29813f06
1 changed files with 5 additions and 5 deletions
|
|
@ -665,11 +665,11 @@ async def update_restart(_, ctx: Message, strings):
|
|||
async def error_handlers(_: "Client", __: "Update", error: "Exception") -> None:
|
||||
if isinstance(error, (FloodWait, SlowmodeWait)):
|
||||
await asyncio.sleep(error.value)
|
||||
# else:
|
||||
# if config.DEBUG_MODE:
|
||||
# LOGGER.error(repr(error))
|
||||
# else:
|
||||
# return None
|
||||
# else:
|
||||
# if config.DEBUG_MODE:
|
||||
# LOGGER.error(repr(error))
|
||||
# else:
|
||||
# return None
|
||||
|
||||
|
||||
@app.on_raw_update(group=-99)
|
||||
|
|
|
|||
Loading…
Reference in a new issue