// For v13 client.application.commands.fetch('1037575237274972160') // id of your command .then(command => { console.log(`Fetched command ${command.name}`) command.delete() console.log(`Deleted command ${command.name}`) })