Unregister Discord Commands (Effect) — DiSky
Addon: DiSky · Category: Effect · Since: 5.0.0-a2
Syntax
unregister [the] [discord] [application] command[s] %texts/types.applicationcommand% (globally (from|of|in) [the] [bot] %types.bot%|(from|of|in) [the] [guild] %types.guild%)Description
Removes application commands from a bot (globally) or from a guild: by command object, by name, by id, or all of them. A command object whose id is known is deleted directly; otherwise the registered commands are looked up and every one with that name (and type, for a command object) is removed.
Examples
unregister the discord command "ping" from event-guild
unregister the discord commands {_cmd} globally from event-bot
unregister all the discord commands from event-guild