My application does not start
I was tweaking some parts of the application, when I run the command a few times and I get "The interaction failed" yet the command logs were still displayed in the terminal. So I decided to restart the application, now it just doesn't want to start! The problem is not on the host, as I have several applications there and they are all working successfully.
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!What logs do you get while starting?
I did what they asked in #djs-help-v14
first reboot below
Please add the following code to your code base outside of any other event listeners and provide the full log output relevant to your issue.
- Note: if you initialize your Client as
bot
or other identifiers you need to use these instead of client
- If the output is too long to post consider using a bin instead: gist | paste.gg | sourceb.in | hastebinThat should get you more logs
and its just stuck at preparing?
Yes, given the circumstances... The bot doesn't start completely
I mean if this is the whole bot, the only reason this wouldn't work is connectivity issues
Yes, it returns the first 3 logs when it starts with output
But what's the point of this unexpected return now? It literally worked normally
Sorry, I only know English haha. The blue one appears to the be the slash command deployment? What are the green and purple logs?
Can you copy and paste rather than screenshot? At least then I could translate them
First 3 log color lines say that the bot is ready and working
If that helps for you <3
Okay.....
So whats the problem?
It doesn't start, I just showed what was theoretically supposed to appear but nothing logs
Oh so thats not the current state
This is what is happening now?
Green says that there's no command to load. "No alteration done"
And purple "The client (ID) started successfully"
Yes, it happened just now, I didn't change anything in the code
Yeah, that can really only be a connection issue
Discord isn't resolving the connection
So there's not much I can do, right?
I'll have to wait to update my games again