From 785177fe85a22d7c98fc320ac9127237b89e5b37 Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Fri, 16 Dec 2022 10:24:17 +0700 Subject: [PATCH] Update misc_tools.py --- misskaty/plugins/misc_tools.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py index 0ff7a85c..1415b6cc 100644 --- a/misskaty/plugins/misc_tools.py +++ b/misskaty/plugins/misc_tools.py @@ -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: {str(err)}") @app.on_message(filters.command(["tts"], COMMAND_HANDLER))