From aa0569d5f0d8c2f5b9b359d245bc6623e9453fe7 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 24 Mar 2024 04:02:46 -0600 Subject: [PATCH] Reusing old code go brr --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4f988f0..dff337f 100644 --- a/index.js +++ b/index.js @@ -1179,7 +1179,7 @@ dcClient.on('interactionCreate', async interaction => { const buffer = Buffer.from(outputStream, 'utf-8'); const attachment = { name: "output.txt", - content: buffer + attachment: buffer } msgJson.files = [attachment]; msgJson.content = `Ran command \`${cmd}\`\nOutput too long, sending as a file`