#Bot repeatedly crashes on VPS

1 messages · Page 1 of 1 (latest)

final shoal
#

the bot will crash with this error

steps Ive taken

Updating Node.JS and YTDL (if thats what its called)

#

it'll run for a little bit but then crash right after

final shoal
#

also attempted updating discord player just rn

#

to see if it will fix the issue

pulsar lion
#

It’s a bug I will fix it in the next version it should be out in a few days

flat egret
#

Updating djs version should fix this

#

#769862166131245066 message

#

to 14.8 or 13.14

#

Depends on what version you are in

neon fog
#

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.Delete node_modules folder
3.Find the package.json file 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.Do npm i command to get new node_modules.
7.Check if the bot is working properly.

///IF ABOVE DID NOT WORK

1.Turn off the bot
2.Delete node_modules again.
3.Go to package.json again.
4.Change "discord.js": "latest", to "discord.js": "^14.8.0",.
5.Do npm i to get node_modules again.
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

plush frigate
neon fog
#

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.

plush frigate
#

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

pulsar lion
#

New version will fix all of this

alpine halo
#

@final shoal Have you fix this?

final shoal
#

and discord.js

final shoal
#

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