From f0284c84d64a434e62ed3da0c6bb6ad114f0ba67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Fri, 1 Jun 2018 13:36:23 +0200 Subject: [PATCH] bot docs: Update botserverrc examples. THe botserverrc sections now include a token for each bot. --- templates/zerver/api/deploying-bots.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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