Update misc_tools.py

This commit is contained in:
yasirarism 2022-12-16 10:24:17 +07:00 committed by GitHub
parent 8d1e9a0962
commit 785177fe85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,8 +136,6 @@ async def translate(client, message):
except MessageTooLong:
url = await rentry(tresult)
return await msg.edit(f"Your translated text pasted to rentry because has long text:\n{url}")
except Exception as err:
await msg.edit(f"ERROR: <code>{str(err)}</code>")
@app.on_message(filters.command(["tts"], COMMAND_HANDLER))