Reusing old code go brr

This commit is contained in:
Christopher Cookman 2024-03-24 04:02:46 -06:00
parent 3fda780cf3
commit aa0569d5f0
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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`