registerWorkerCommands
registerWorkerCommands(
options):Effect<void,DiscordRestError,DiscordRest>
Defined in: packages/platform-discord/src/commands/registration.ts:24
Replaces the application’s command list with plain JSON command descriptors.
This uses dfx’s bulk-set operations, so it works from a Worker, a script, or a deploy hook without a gateway client.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Effect<void, DiscordRestError, DiscordRest>