bot appears offline after first reply

My Discord bot goes offline after I send the first reply, but it still appears active on the terminal, it does not throw any errors, I changed the token a few times and the problem still persists.
12 Replies
d.js toolkit
d.js toolkit12mo 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!
AquaDemon
AquaDemonOP12mo ago
Discord.js Version: 14.14.1 Node Version: 20.10.0 There was no such problem before, this problem has been occurring for a few days.
Syjalo
Syjalo12mo ago
Show your index.js
AquaDemon
AquaDemonOP12mo ago
Syjalo
Syjalo12mo ago
What message do you send?
AquaDemon
AquaDemonOP12mo ago
I'm using translation because my English is bad, so I'm sorry if any translation is wrong.
Syjalo
Syjalo12mo ago
That's an issue with your eval commands
AquaDemon
AquaDemonOP12mo ago
I get an error like this in all commands, even in a command that only replies as Test.
Syjalo
Syjalo12mo ago
Show an example
AquaDemon
AquaDemonOP12mo ago
And previously the bot was working without any problems Wdym by example? My bot, which is working smoothly, encounters this problem in these two or three days.
d.js docs
d.js docs12mo 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
AquaDemon
AquaDemonOP12mo ago
These have been newly added to the console There is also a section called provided token: at the top. It seems active, it goes offline after using it without using the first command. Mongodb url is found in censored place That's why I censored it nothing changed I still have only the logs I posted. All logs Let me find the Log part that shows the censored parts and delete it, let me post it uncensored for a second. Yes, because it does not log anything after it is ready and connected to lavalinks. So how can I find it? I typed the first command and tried the second one quickly, but it didn't work. I tried it slowly, maybe because the ping was high, but it still didn't work. yes It doesn't go offline when I don't use any commands The only thing I didn't have a chance to try was to close the command handler, add the messageCreate event to the index file and add a command. I bought a spare on December 14th, let me try it. I'm using translation I meant backup
Want results from more Discord servers?
Add your server