/auto-response
The /auto-response
command group provides subcommands to manage auto responses.
Whenever the bot sees a message that matches the trigger pattern of an auto response, it will roll a random number between 0 and 1. If the result is less than or equal to the chance of the auto response, the bot will send the response message.
/auto-response add
The /auto-response add
command creates a new auto response.
Parameters
- trigger
the pattern that will trigger the newly-created auto response
- response
the response message that will be sent when the auto response is triggered
- case-sensitivity
default: insensitive
whether the trigger pattern is case-sensitive
Valid values are insensitive and sensitive.
- chance
default: 1.0
the chance that the auto response will be triggered when the trigger pattern is seen
/auto-response edit
The /auto-response edit
command allows you to edit an auto response. After you issue the command, you will be displayed a form in the client where you can edit the auto response.
Parameters
- id
the ID of the auto response to edit
/auto-response delete
The /auto-response delete
command deletes an auto response.
Parameters
- id
the ID of the auto response to delete
/auto-response list
The /auto-response list
command lists all auto responses in the server.
/auto-response view
The /auto-response view
command displays information about an auto response.
Parameters
- id
the ID of the auto response to view
/auto-response export
The /auto-response export
command exports all auto responses in the server in a machine-readable format.