From df46266c2e723784dc1d7e5d504bc41e0de7b6e0 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 10 Mar 2023 11:00:39 -0700 Subject: [PATCH] A --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8942e73..b52db19 100644 --- a/index.js +++ b/index.js @@ -149,7 +149,7 @@ client.on('messageCreate', async (message) => { output = data.data.choices[0].message; output.name = "Bot"; if (output.content.endsWith("!!!TERM1234!!!")) { // This can allow a self-termination command - console.log(`${colors.cyan("[INFO]")} Self termination command detected in ${colors.green(message.channel.name)} (${colors.green(message.channelId)}): ${colors.green(message.content)}`) + console.log(`${colors.cyan("[INFO]")} Self termination command detected in ${colors.green(message.channel.name)} (${colors.green(message.channelId)}): ${colors.green(output.content)}`) output.content = output.content.replace("!!!TERM1234!!!", ""); clearInterval(typing); if (output.content.length != 0) message.channel.send(output.content);