#My application does not start

29 messages · Page 1 of 1 (latest)

tawny basin
#

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.

dawn ibexBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
tacit sky
#

What logs do you get while starting?

tawny basin
#

I did what they asked in #djs-help-v14

#

first reboot below

glacial willowBOT
#

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)
  • 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
tacit sky
#

That should get you more logs

tawny basin
tacit sky
#

and its just stuck at preparing?

tawny basin
#

Yes, given the circumstances... The bot doesn't start completely

tacit sky
# tawny basin

I mean if this is the whole bot, the only reason this wouldn't work is connectivity issues

tawny basin
#

But what's the point of this unexpected return now? It literally worked normally

tacit sky
#

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

silk cedar
#

First 3 log color lines say that the bot is ready and working

#

If that helps for you <3

tacit sky
#

Okay.....

#

So whats the problem?

tawny basin
#

It doesn't start, I just showed what was theoretically supposed to appear but nothing logs

tacit sky
#

Oh so thats not the current state

tacit sky
silk cedar
#

Green says that there's no command to load. "No alteration done"

#

And purple "The client (ID) started successfully"

tawny basin
tacit sky
#

Yeah, that can really only be a connection issue

#

Discord isn't resolving the connection

tawny basin
#

So there's not much I can do, right?