My bot won't start
Code:
Notes:
- token logs fine
- normal fetch requests work
- a token reset doesn't fix it
- works fine on my local machine but doesn't work on a vps
- im on the latest djs version
- here's the output which just freezes:
19 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!Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
no, it's a vps that only i use
root access
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
yes, i host other bots but again, i've never had this issue
i've used my vps for like a year, never had issues. this problem has only come up after downtime which happened yesterday due to a datacentre outage
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
around 10
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
oh damn
this has been an issue since 3am
it's now 3pm
is there any way to check the ip ban?
nothing is coming up when i listen to the ratelimit event
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
oh
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
{ message: '401: Unauthorized', code: 0 }
oh wait
ummm now everything is working..
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
yeah
that's very strange
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
ah
thank you
Is your bot currently being hosted on a public vps like replit? @a
no, i have my own vps which i rent from a hosting provider
dedicated ip
root access