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
d.js toolkit
d.js toolkit15mo ago
- 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!
monbrey
monbrey15mo ago
What logs do you get while starting?
Who Am I
Who Am IOP15mo ago
I did what they asked in #djs-help-v14
No description
Who Am I
Who Am IOP15mo ago
first reboot below
No description
d.js docs
d.js docs15mo ago
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.
client
.on("debug", console.log)
.on("warn", console.log)
client
.on("debug", console.log)
.on("warn", console.log)
- 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 | hastebin
monbrey
monbrey15mo ago
That should get you more logs
Who Am I
Who Am IOP15mo ago
No description
monbrey
monbrey15mo ago
and its just stuck at preparing?
Who Am I
Who Am IOP15mo ago
Yes, given the circumstances... The bot doesn't start completely
monbrey
monbrey15mo ago
I mean if this is the whole bot, the only reason this wouldn't work is connectivity issues
Who Am I
Who Am IOP15mo ago
Yes, it returns the first 3 logs when it starts with output
Who Am I
Who Am IOP15mo ago
No description
Who Am I
Who Am IOP15mo ago
But what's the point of this unexpected return now? It literally worked normally
monbrey
monbrey15mo ago
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
Hyoga
Hyoga15mo ago
First 3 log color lines say that the bot is ready and working If that helps for you <3
monbrey
monbrey15mo ago
Okay..... So whats the problem?
Who Am I
Who Am IOP15mo ago
It doesn't start, I just showed what was theoretically supposed to appear but nothing logs
monbrey
monbrey15mo ago
Oh so thats not the current state This is what is happening now?
Hyoga
Hyoga15mo ago
Green says that there's no command to load. "No alteration done" And purple "The client (ID) started successfully"
Who Am I
Who Am IOP15mo ago
Yes, it happened just now, I didn't change anything in the code
monbrey
monbrey15mo ago
Yeah, that can really only be a connection issue Discord isn't resolving the connection
Who Am I
Who Am IOP15mo ago
So there's not much I can do, right?
Who Am I
Who Am IOP15mo ago
I'll have to wait to update my games again OMEGAlul
No description
Want results from more Discord servers?
Add your server