Discord.js v14 - Delete a channel and recreate it with the same name

20 Views Asked by At

Purge Channel Command

I want to make a slash command that deletes the channel specified, then recreate it with the same name. Like this.

/purgechannel [channel]

I don't know how to make this.

I have tried but all of my code has been deleted due to broken code.

0

There are 0 best solutions below