setDefaultMemberPermission in dm channels
I'm trying to merge my clean and cleanDM commands (one to clean up messages in dms, one for guilds)
can I still use
.setDefaultMemberPermissions(PermissionFlagsBits.ManageMessages)
or would that automatically set DMPermission to false?7 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 OPUnknown User•14mo ago
Message Not Public
Sign In & Join Server To View
so is it fine to use .setDefaultMemberPermissions on a command that I want to work both in guilds and dm's?
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
great, so itll set the default permissions for guilds and not interfer with dms?
Unknown User•14mo ago
Message Not Public
Sign In & Join Server To View
yes, thanks a lot, I think this should work the way I imagine it then