#Send message to child process

1 messages · Page 1 of 1 (latest)

shy grail
#

Hello, I created a different kind of Discord js file, where I spawn a child process using fork(). Now I try to send my received message from the main process to my child process, but then the message Object does not contain its functions anymore and simple functions, as message.channel.send() do not work anymore. Is there any way to send this without losing the functions?

worldly palm
#

let me make sure

#

so message.channel is still exist rigt ?

#

not with message.channel.send