Registered Discord Commands (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 5.0.0-a2
Syntax
[all [of]] [the] registered [discord] [application] commands (of|from|in) [the] %types.bot/types.guild%Description
The application commands currently registered on Discord: globally for a bot, or for one guild. They come back as regular command objects (with their 'command id'), so they can be edited and pushed again. This asks Discord, so it needs 'await'.
Examples
await set {_cmds::*} to registered commands of event-guild
loop {_cmds::*}:
send "%name of loop-value% (%command id of loop-value%)" to console