What is the coding to be able to delete all channels in a server?

So i am trying to make a bot, and i want it to be able to delete all channel at once. if there was a raid. And you needed to delete all the channels created in the raid. I need to know how to do this, thanks :slight_smile:

We canโ€™t spoof feed, but you could put all channels in an array:

โ€ฆand do a forEach loop to delete them all:

1 Like

spoon feed.

2 Likes

i can help you i have a command that deletes all text channels sadly it doesnt work for voice channels

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.