'Discordjs runs on local server, but not on remote server or raspberry pi
Whenever I run the program on my local server it outputs: Logged in as Meme24/7#9900!
and whenever I give it a command, it gives an answer but whenever I put it on any other server (pi/lightsail) it outputs Logged in as Meme24/7#9900! but whenever I give it a command, it doesn't reply, I have tried putting a console.log to the
client.on('message', message => {
console.log('message received')
})
and the output "message received" isnt showing up
pls help i have been facing this issue for hours now
thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
