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.