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`