diff --git a/templates/zerver/api/deploying-bots.md b/templates/zerver/api/deploying-bots.md index 68a648e729..c6314b8d26 100644 --- a/templates/zerver/api/deploying-bots.md +++ b/templates/zerver/api/deploying-bots.md @@ -83,12 +83,24 @@ Botserver process. You can do this with the following procedure. Botserver format." option at the top. 1. Open the `botserverrc`. It should contain one or more sections that look like this: - ``` [] email=foo-bot@hostname key=dOHHlyqgpt5g0tVuVl6NHxDLlc9eFRX4 site=http://hostname + token=aQVQmSd6j6IHphJ9m1jhgHdbnhl5ZcsY + ``` + Each section contains the configuration for an outgoing webhook bot. For each + bot, enter the name of the bot you want to run in the square brackets `[]`. + For example, if we want `foo-bot@hostname` to run the `helloworld` bot, our + new section would look like this: + + ``` + [helloworld] + email=foo-bot@hostname + key=dOHHlyqgpt5g0tVuVl6NHxDLlc9eFRX4 + site=http://hostname + token=aQVQmSd6j6IHphJ9m1jhgHdbnhl5ZcsY ``` Each section contains the configuration for an outgoing webhook bot. For each