Can someone explain me what can I do that my bot always response. If I try next day a slash command
my bot doesn't respons.
23 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!None of the code here is for responding to commands
jup but in my command folder
and there are the standards from djs commands like ping or server
This code here loads commands and event files
It isnt responsible for the responding
Or the handling
I think we're talking past each other. Every time I use a command the next day it says that the bot isn't responding and I don't understand why. I would like it to be able to respond 24/7
Theres no reason that would happen with the default code
That sounds like a hosting or crashing issue
öhm ?
ok how I can test it?
I host a server from netcup
You already are testing it, and its failing. Check your server for logs. If it didnt respond there must be a reason why
hmmm nope my code have no errors or something I need to log in my app and use node . to start it
And then you logout? Does it keep running?
jup and then next day I try to use it and it don't work
Theres very little me or anyone can do without some sort of logging indicating why
this?
I look the server was running all the time
I can get u my login that u can look
I can literally see it powering off?
wich info do u need
I dont need any more info
I need you to run your bot on a server that doesnt restart
This has nothing to do with discord.js
it is :/
I don't restart it and the only one with access is me
Okay, so its been running since March
Theres nothing here that helps me diagnose anything
If its not responding, its probably not running
Figure out why
Application logs
Run it like
node . > logs.txt
so it writes stuff to file even when you're logged outI run debian in the server it's the command ?
And if it work I can send the log
tomorrow I can test it I send the liga here