Structured Discord Commands (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 5.0.0-a2
Syntax
[the] structured (slash|user|message) command[s] %texts%Description
The commands declared by 'slash command' / 'user command' / 'message command' structures, as command objects ready to be pushed: every 'slash command mod ...' structure is merged into one '/mod' command. By name (the root word of a slash command, the full name of a context command), or all of them.
Examples
on guild ready:
update the discord commands (all structured application commands) in event-guild
set {_mod} to structured slash command "mod"
send "%size of subcommands of {_mod}% subcommands" to console