@@ -426,7 +426,9 @@ async def run_handler(bot, event, command):
return
- text = remove_ansi_escapes(text)
+ text = remove_ansi_escapes(text).strip()
+ if not text:
+ text = '<empty>'
await event.reply(f'```\n{text}```')