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
d.js toolkit
d.js toolkit14mo ago
- 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
Unknown User
Unknown User14mo 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
Unknown User14mo 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
Unknown User14mo 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
Want results from more Discord servers?
Add your server