Closed denizetkar closed 3 months ago
We don't provide support for npm. Make a ticket if/when you use yarn.
I see. Then, I will test with yarn
by removing node_modules
and installing the dependencies again.
I don't think that this is related to yarn
or npm
. This generally happens when you use an outdated version of DiscordJS, due to the new channel type which is text channel embedded in voice channel or other stuff came with the last big update of Discord. So this will continue to happen unless you update the package itself. Shortcut is putting an if check before the action it tries to execute.
Then this means that the discord.js
dependency version here needs to be upgraded, right?
That line was last changed 4 years ago.
Also, if so, can someone please contribute a working set of versions please?
Will be fixed by #350
Description of Issue
SquadJS randomly crashes due to a bug in
discord.js
dependency, likely caused by SquadJS.Note that I'm pretty much using vanilla SquadJS, with only the following
switch
plugin in addition:Here is my anonymized
config.json
:Errors or Screenshots of Issue
Squad Information
If potentially relevant, please provide regarding the state of the Squad server at the time of error, e.g. the current layer. Although I don't think it's relevant, here is what
ShowServerInfo
returned:System Information