(Kick_Members) permission
Can someone add a permission for me (in the given script) that only people with the KickMembers permission can execute?
14 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 staffNo
i've told you so many times to learn js
do it
you are struggling with everything
and even just reading the docs would help
so learn js first
then come back
Bro, I've tried a lot of methods that don't help. Besides, I have no idea how to do it like you told me. I've written to my friend several times, who has been programming JS for years, and even he doesn't really have a clue
GuildMember#permissions
The overall set of permissions for this member, taking only roles and owner status into account
I'm not having a hard time, I've tried the methods the guide gave me, but there are always errors
thats not valid js
i have 0 clue where you get that code from
FROM THIS
no
Nowhere in the docs does it tell you to use that
<GuildMember>.permissions.has()
literally
not that difficult?
Or set default member permission to this slash command
i'm done here
learn js
LMFAO
tbh ill do the same thing