From df667e85806a6a5e29c9b1e59e62748a875d469d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 24 Mar 2024 03:54:50 -0600 Subject: [PATCH] Boof --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e2e5faa..4afbbaa 100644 --- a/index.js +++ b/index.js @@ -1165,7 +1165,7 @@ dcClient.on('interactionCreate', async interaction => { outputStream = "" stream.on("data", (data) => { outputStream += `${data}\n` - clearTimeout(outputTimeout); + if(outputTimeout) clearTimeout(outputTimeout); outputTimeout = setTimeout(() => { interaction.editReply(`\`\`\`ansi\n${outputStream}\`\`\``);