#Bot repeatedly crashes on VPS
1 messages · Page 1 of 1 (latest)
It’s a bug I will fix it in the next version it should be out in a few days
Updating djs version should fix this
#769862166131245066 message
to 14.8 or 13.14
Depends on what version you are in
Hi everyone, I came here with help for someone if you did not figure it out yet.
If you have a problem with tickets not working by
TypeError: channel.isTextBased is not a function
Here is solution:
1.Turn off your bot
2.Deletenode_modulesfolder
3.Find thepackage.jsonfile in the main directory of your bot.
4.Find the"discord.js": "^14.8.0",or"discord.js": "^14.6.0",line.
5.Change it to"discord.js": "latest",.
6.Donpm icommand to get newnode_modules.
7.Check if the bot is working properly.
///IF ABOVE DID NOT WORK
1.Turn off the bot
2.Deletenode_modulesagain.
3.Go topackage.jsonagain.
4.Change"discord.js": "latest",to"discord.js": "^14.8.0",.
5.Donpm ito getnode_modulesagain.
6.Start the bot.
///That should fix the problem ❤️
<@&784719828690796574> Pin this somewhere for better help ^
In more Dev way just do npm rebuild which is exactly specified in these steps above
Hello ! Is this the bot from the master branch or the beta bot ?
uhhh I dont have a problem with any of my bots, just i saw this and i have a solution for this. It was for ticket bot but i think it should fix the problem for others as well.
Ooh my bad
I don't know if it is present with everything related to discordjs, but if it is, we will probably pin it somewhere
New version will fix all of this
@final shoal Have you fix this?
yeah I just updated discord player
and discord.js
wait when I updated discord-player the whole bot stopped crashing but the bot wont even play songs fully through
before leaving
The bot wasnt playing anything when discord-player wasnt on an updated version
it would join and leave saying it was forcefully disconnected
when I updated discord-player it was playing but would stop part way through out the song