From 38f054ef7127a36b3cbe6155c5f8ade0e14acb38 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 24 Mar 2024 03:56:31 -0600 Subject: [PATCH] Uhh --- index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.js b/index.js index 4afbbaa..2656766 100644 --- a/index.js +++ b/index.js @@ -1165,14 +1165,9 @@ dcClient.on('interactionCreate', async interaction => { outputStream = "" stream.on("data", (data) => { outputStream += `${data}\n` - if(outputTimeout) clearTimeout(outputTimeout); - outputTimeout = setTimeout(() => { - interaction.editReply(`\`\`\`ansi\n${outputStream}\`\`\``); - - }, 150); }) stream.on('exit', (code, signal) => { - interaction.editReply(`Ran command \`${cmd}\``); + interaction.editReply(`Ran command ${cmd}:\n\`\`\`ansi\n${outputStream}\n\`\`\``); sendLog(`${colors.green("[INFO]")} Ran command ${cmd}`); }); });