From 7d0a31dab25a88bd59fc727d093c1354fbc00098 Mon Sep 17 00:00:00 2001 From: raven Date: Mon, 9 Jan 2023 00:45:56 -0500 Subject: [PATCH] fix typo --- sshChat.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshChat.mjs b/sshChat.mjs index 6e5fd8b..7acb672 100644 --- a/sshChat.mjs +++ b/sshChat.mjs @@ -161,7 +161,7 @@ rl.on('line', input => { const AI = input.startsWith("!") if (AI) { let inputdata = input.split(2) - const prompt = inputdata.join(" ").replace("> ", "").replace(">", "") + const prompt = inputdata.join(" ").replace("! ", "").replace("!", "") AIRequest(prompt).then((data) => { console.log(data) for (const conn of conns) {