!cmd add
Creates a new custom command for the channel.Parameters
This command takes two required parameters:- Command name - The name of the command to create
- Response - The response text for the command
Flags
This command supports the following optional flags:--enable: Enable the command (default: enabled)--disable: Disable the command-g, --global <seconds>: Set global cooldown in seconds (default: 5)-u, --user <seconds>: Set user cooldown in seconds (default: 15)-n, --name <name>: Set command name-t, --type <type>: Set response type:reply,say,whisper, ormention(default: say)--addalias <alias>: Add an alias for the command (can be used multiple times)--removealias <alias>: Remove an alias from the command (can be used multiple times)
Example Output
-
!cmd add hello Welcome to my stream!
Error Output
-
In case insufficient parameters are provided, returns the following:
!cmd edit
Modifies an existing custom command’s response.Parameters
This command takes two required parameters:- Command name - The name of the command to edit
- New response - The new response text for the command
Flags
This command supports the following optional flags:--enable- Enable the command--disable- Disable the command-g, --global <seconds>- Set global cooldown in seconds-u, --user <seconds>- Set user cooldown in seconds-n, --name <name>- Set command name-t, --type <type>- Set response type:reply,say,whisper, ormention--addalias <alias>- Add an alias for the command (can be used multiple times)--removealias <alias>- Remove an alias from the command (can be used multiple times)
Example Output
-
!cmd edit hello Welcome to my amazing stream!
Error Output
-
In case insufficient parameters are provided, returns the following:
-
In case the command is not found, returns the following:
!cmd delete
Deletes a custom command from the channel.Parameters
This command takes one required parameter that is the command name to delete.Example Output
-
!cmd delete hello
Error Output
-
In case no command name is provided, returns the following:
-
In case the command is not found, returns the following:
!cmd enable
Enables a disabled custom command.Parameters
This command takes one required parameter that is the command name to enable.Example Output
-
!cmd enable hello
Error Output
-
In case no command name is provided, returns the following:
-
In case the command is not found, returns the following:
-
In case the command is already enabled, returns the following:
!cmd disable
Disables an enabled custom command.Parameters
This command takes one required parameter that is the command name to disable.Example Output
-
!cmd disable hello
Error Output
-
In case no command name is provided, returns the following:
-
In case the command is not found, returns the following:
-
In case the command is already disabled, returns the following:
!cmd set
Creates or updates a custom command. If the command doesn’t exist, it will be created. If it does exist, it will be updated.Parameters
This command takes two required parameters:- Command name - The name of the command to create or update
- Response - The response text for the command
Flags
This command supports the following optional flags:--enable: Enable the command (default: enabled)--disable: Disable the command-g, --global <seconds>: Set global cooldown in seconds (default: 5)-u, --user <seconds>: Set user cooldown in seconds (default: 15)-n, --name <name>: Set command name-t, --type <type>: Set response type:reply,say,whisper, ormention(default: say)--addalias <alias>: Add an alias for the command (can be used multiple times)--removealias <alias>: Remove an alias from the command (can be used multiple times)
Example Output
-
!cmd set hello Welcome to my stream!or
Error Output
-
In case insufficient parameters are provided, returns the following:
!cmd show
Displays the response of a custom command.Parameters
This command takes one required parameter that is the command name to show.Example Output
-
!cmd show hello
Error Output
-
In case no command name is provided, returns the following:
-
In case the command is not found, returns the following: