📕
AFKHandler
  • Introduction
  • FAQ
  • Changelog
  • Classes
    • AFKHandler
    • Command
    • SlashCommand
    • Event
    • Feature
  • Methods
    • Commands
    • SlashCommands
    • deleteSlash
    • Events
    • Features
    • load
    • setCooldown
    • time
    • convert
    • convertLong
  • Types
  • AFKHandlerInteraface
  • AFKHandlerOptions
  • CommandInterface
  • SlashCommandInterface
  • EventInterface
  • FeatureInterface
  • CommandHelp
  • (Callbacks)
  • (Utils)
Powered by GitBook
On this page

Was this helpful?

  1. Methods

deleteSlash

Deletes in a slash command

PreviousSlashCommandsNextEvents

Last updated 3 years ago

Was this helpful?

public async deleteSlash(name: string, guilds?: []): Promise<false | <{ guild: ; }> | <{}>[] | undefined>

  • name: slash command name

  • guilds: guilds where the slash command will be deleted

client.delelteSlash("ping", ["34543843829755", "5748329579845"])
Snowflake
ApplicationCommand
GuildResolvable
ApplicationCommand