Enable/disable a command or folder
set_command_stateEnable or disable commands or command folders by name, with optional platform-side reward sync for points and extension kinds.
Instructions
Enable or disable a command, or a whole command folder, by name. For commands, "kind" picks which list the name belongs to (chat, chatbot, Twitch channel points, Kick points, or Twitch extension); points/extension kinds also sync the platform-side reward state on an up-to-date Lumia Stream.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | For target "command": which command list the name belongs to. | chat |
| name | Yes | The command or folder name. | |
| target | No | Whether "name" refers to a command or a folder. | command |
| enabled | Yes | true to enable, false to disable. |