delete channels
How do i delete channels fast? Becausen when you normally make a loop and delete channels its kinda slow
22 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!why you need it?
For a self destruction mode
For my server
Why ur asking
U thought im making a nuker bot?
yeah?
K
But how do i delete channels fast
Why would you make a self destruction mode
If ppl get acess to my server. Then i can just type a command and puff they cant do ansthing
Make your server whitelist only? Create a role that can access all the channels you want, then give people that role
Make your command admin only or server only
You can also disable them in the server.
Unknown Userβ’7mo ago
Message Not Public
Sign In & Join Server To View
No??? Like realtalk i thought about a lockdown like u said but just thought thats the easiest way
Ok
besides there's no channel bulkDelete is there?
so like.. no way around rate limits
side question though.. is it possible to restore deleted channel somehow? or make a backup or something?
or prevent things from deleting them in the first place (if they have the manageChannels permission)
like.. manage channels is such a broad permission.. maybe you wanna give someone perms to edit channel permissions and overrides for you etc, but that's all reversible stuff, even if they do troll.
but deleting the channel is part of that,... so like..... I mean yea that's just discord doing the hell what but is there a way to prevent the deletion?
not possible
-_-
Just don't give manage channels permission to untrusted people
you don't even need Manage Channels to let other users edit channel permissions/overrides, you just need Manage Permissions
Doesn't change that problem of discord putting a dangerous action into the same permissions with a bunch of managing and reversible ones
It's like giving change server profile perms only in combination with delete server...
I don't see "manage permissions" anywhere in my role settings
Manage Permissions only exists on channel overrides
Thank you, that actually helps a lot
is there a list somewhere which permission you need for which action?
is "edit roles" also enough to manage integration permissions or does that need "manage server"?
this question would be better to ask in the Discord Developers server
right, I figured it out with the "view as role" thingy