[Update] Ultroid v0.6
Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-Authored-By: MMETMA <79155572+MMETMA@users.noreply.github.com> Co-Authored-By: Aditya <me@xditya.me> Co-Authored-By: marat2509 <93652988+marat2509@users.noreply.github.com> Co-Authored-By: smartman_ru <14003491+smartmanru@users.noreply.github.com> Co-Authored-By: Flasho <75789819+flashokillerify@users.noreply.github.com> Co-Authored-By: ÁÑÑÍHÌLÅTØR SPÄRK <75305464+annihilatorrrr@users.noreply.github.com>
This commit is contained in:
@@ -63,7 +63,7 @@ from telethon.tl.types import (
|
||||
)
|
||||
from telethon.utils import pack_bot_file_id
|
||||
|
||||
from . import HNDLR, async_searcher, bash, con, eor, get_string
|
||||
from . import HNDLR, LOGS, async_searcher, bash, con, eor, get_string
|
||||
from . import humanbytes as hb
|
||||
from . import inline_mention, is_url_ok, mediainfo, ultroid_cmd
|
||||
|
||||
@@ -94,6 +94,7 @@ async def _(event):
|
||||
output_str = f"**TRANSLATED** from {fr} to {lan}\n{tt}"
|
||||
await event.eor(output_str)
|
||||
except Exception as exc:
|
||||
LOGS.exception(exc)
|
||||
await event.eor(str(exc), time=5)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user