Oh, it already has newlines
This commit is contained in:
parent
aa0569d5f0
commit
647fb44645
2
index.js
2
index.js
|
@ -1164,7 +1164,7 @@ dcClient.on('interactionCreate', async interaction => {
|
||||||
}
|
}
|
||||||
outputStream = ""
|
outputStream = ""
|
||||||
stream.on("data", (data) => {
|
stream.on("data", (data) => {
|
||||||
outputStream += `${data}\n`
|
outputStream += `${data}`
|
||||||
})
|
})
|
||||||
stream.on('exit', (code, signal) => {
|
stream.on('exit', (code, signal) => {
|
||||||
console.log(`Ran command ${cmd}:\n${outputStream}`)
|
console.log(`Ran command ${cmd}:\n${outputStream}`)
|
||||||
|
|
Loading…
Reference in a new issue