10 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 OP
can anobdy find any error in this
and what error is thrown?
* Explain what exactly your issue is. * Post the full error stack trace, not just the top part!
Bro when I used this command for ban a user that have higher role it show error
Documentation suggestion for @AgEnT007:
:property: GuildMember#bannable
Whether this member is bannable by the client user
there you go, use this boolean to check first.
You would have received help a lot sooner if you explained that in your post or post title
this also immediately attempts to get the member instead of a
User
object.
If this returns null, then the provided user does not exist in the serverUnknown User•8mo ago
Message Not Public
Sign In & Join Server To View
I resolved my error thnkx bro help