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
- 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!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.Show your index.js
Okey wait a sec
https://sourceb.in/7czuz5Ykyn
What message do you send?
I'm using translation because my English is bad, so I'm sorry if any translation is wrong.
That's an issue with your eval commands
I get an error like this in all commands, even in a command that only replies as Test.
Show an example
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.
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 | hastebin
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