Error: Invalid value GuildMember
I'm working on unmute command for my guild designed bot. However when i run the command the mentioned error occurs. Its worth to note that i use v13.14.0 not v13.17.1
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!
- โ
Marked as resolved by staffhere is the code
and here is error code
there's no information about line that causes the issue
Show the error stack and update
npm i discord.js@v13-lts
That's a seauelize error. Not related to discord.js
it has nothing to do with discord by itself
and error is about GuildMember
i mean i import user from database maybe thats why
however user is just their ID
I think he/she meant the error occurs as a sequalize error, the module you are using, it is not a djs error, hence he canโt help youโฆ
Oh right i didnt notice that. It fixed my problem thank u very much for help