deleteSlash

Deletes in a slash command

public async deleteSlash(name: string, guilds?: Snowflakearrow-up-right[]): Promise<false | ApplicationCommandarrow-up-right<{ guild: GuildResolvablearrow-up-right; }> | ApplicationCommandarrow-up-right<{}>[] | undefined>

  • name: slash command name

  • guilds: guilds where the slash command will be deleted

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

Last updated

Was this helpful?