diff --git a/tgpy/_core/eval_message.py b/tgpy/_core/eval_message.py index 06b5120..5a44f4b 100644 --- a/tgpy/_core/eval_message.py +++ b/tgpy/_core/eval_message.py @@ -23,7 +23,7 @@ async def eval_message(code: str, message: Message) -> Message | None: # return no message as it wasn't edited return None except Exception: - result = 'Error occurred' + result = None output = '' exc, full_exc = format_traceback() else: