From 5534d4f197c8c462b6420e24697658d57655c326 Mon Sep 17 00:00:00 2001 From: Karson Kalt Date: Fri, 19 Jul 2024 09:35:21 -0400 Subject: [PATCH] update bad message stdout --- assets/ts/home/terminal/commands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/ts/home/terminal/commands.ts b/assets/ts/home/terminal/commands.ts index 8f9113c..b718a9a 100644 --- a/assets/ts/home/terminal/commands.ts +++ b/assets/ts/home/terminal/commands.ts @@ -3,10 +3,10 @@ import { sendPing } from "../sendPing"; const messageCommand: CommandExecute = (args) => { try { - sendPing(args.join(" ")); + sendPing(args.join(" ").trim()); return "Message sent to my phone"; } catch (error) { - return "Error sending message"; + return "Invalid message command. Usage: message "; } };