AAA
This commit is contained in:
parent
38f054ef71
commit
eab6b8dc38
2
index.js
2
index.js
|
@ -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}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue