Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delete slash commands discord.js

// 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}`)
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #slash #commands
ADD COMMENT
Topic
Name
1+3 =