For example, if you configure the command to be list editors, it would respond to:
@botname list editors
The command this responder will listen to.
Optional String to show when the help command is invoked.
Optional String to show as an example of the command being used when the help command is invoked.
Optional A text message to use as reply.
Optional <Array> A list of text messages to respond with.
Optional A template file to use to build the response message.
<Array> An optional list of values that will be extracted from the issue’s body and used to fill the template.
Optional Configuration for a external service call. All available subparams are described in the external_service docs.
Simplest use case:
Reply with a preconfigured text
... responders: basic_command: command: issue complaint message: "Please send an email to firstname.lastname@example.org" ...
Multiple instances of the responder, multiple replies, using a template to respond:
... responders: basic_command: - code_of_conduct: command: code of conduct description: Show our community Code of Conduct and Guidelines messages: - "Our CoC: https://github.com/openjournals/joss/blob/master/CODE_OF_CONDUCT.md" - "It's adapted from the Contributor Covenant: http://contributor-covenant.org" - "Reports of abusive or harassing behavior may be reported to email@example.com" - editor_list: command: list editors description: List all current topic editors template_file: editors.md ...
Replying with a template - The template file:
Replying with a template - In use: