Closed banx9x closed 2 weeks ago
Set DEBUG
and see what is logged.
export DEBUG='*'
Set
DEBUG
and see what is logged.export DEBUG='*'
I discovered the error was due to Node version 21, I used version 18 and it worked. But strangely, no errors were printed, including the DEBUG set
There is a bug in Node>18 that it can't perform network requests reliably if the ping is higher than 250 ms. Using Node 18 will work.
I’m learning to create my own bot. I’m following a tutorial in the documentation, but I don’t understand why it isn’t working.
Here is my code:
After running the bot, nothing happens when I send a message to it.