[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:
Devesh Pal
2022-06-06 23:18:16 +05:30
parent d4085913e7
commit 4d30dd7dd7
41 changed files with 1062 additions and 1153 deletions

View File

@@ -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)