This commit is contained in:
Christopher Cookman 2024-03-24 03:57:18 -06:00
parent 38f054ef71
commit eab6b8dc38
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -1167,6 +1167,8 @@ dcClient.on('interactionCreate', async interaction => {
outputStream += `${data}\n` outputStream += `${data}\n`
}) })
stream.on('exit', (code, signal) => { stream.on('exit', (code, signal) => {
console.log(`Ran command ${cmd}:\n${outputStream}`)
console.log("TEST" + outputStream.length)
interaction.editReply(`Ran command ${cmd}:\n\`\`\`ansi\n${outputStream}\n\`\`\``); interaction.editReply(`Ran command ${cmd}:\n\`\`\`ansi\n${outputStream}\n\`\`\``);
sendLog(`${colors.green("[INFO]")} Ran command ${cmd}`); sendLog(`${colors.green("[INFO]")} Ran command ${cmd}`);
}); });