From fe6b46dfa67abecf670fbf6008e36b247f753aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Tue, 29 May 2018 10:53:45 +0200 Subject: [PATCH] docs: Consistently use Botserver instead of botserver or bot server. --- templates/zerver/api/deploying-bots.md | 14 +++++++------- templates/zerver/api/outgoing-webhooks.md | 2 +- templates/zerver/help/add-a-bot-or-integration.md | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/zerver/api/deploying-bots.md b/templates/zerver/api/deploying-bots.md index 4defcf50ed..91890bfb0c 100644 --- a/templates/zerver/api/deploying-bots.md +++ b/templates/zerver/api/deploying-bots.md @@ -61,20 +61,20 @@ pip install zulip_botserver 1. Download the `zuliprc` file for your bot from the *Active Bots* panel, using the download button. -1. Run the bot server, where `helloworld` is the name of the bot you +1. Run the Botserver, where `helloworld` is the name of the bot you want to run: `zulip-bot-server --config-file --bot-name=helloworld` You can specify the port number and various other options; run `zulip-bot-server --help` to see how to do this. -1. Congrats, everything is set up! Test your botserver like you would +1. Congrats, everything is set up! Test your Botserver like you would test a normal bot. -### Running multiple bots using the Zulip botserver +### Running multiple bots using the Zulip Botserver -The Zulip botserver also supports running multiple bots from a single -botserver process. You can do this with the following procedure. +The Zulip Botserver also supports running multiple bots from a single +Botserver process. You can do this with the following procedure. 1. Download the `botserverrc` from the `your-bots` settings page, using the "Download config of all active outgoing webhook bots in Zulip @@ -134,7 +134,7 @@ running it manually. command=zulip-bot-server --config-file= --hostname
--port startsecs=3 - stdout_logfile=/var/log/zulip-botserver.log ; all output of your botserver will be logged here + stdout_logfile=/var/log/zulip-botserver.log ; all output of your Botserver will be logged here redirect_stderr=true * Edit the `<>` sections according to your preferences. @@ -156,6 +156,6 @@ running it manually. The output should include a line similar to this: > zulip-bot-server RUNNING pid 28154, uptime 0:00:27 - The standard output of the bot server will be logged to the path in + The standard output of the Botserver will be logged to the path in your *supervisord* configuration. diff --git a/templates/zerver/api/outgoing-webhooks.md b/templates/zerver/api/outgoing-webhooks.md index 39d0128c8d..cd4a2c5514 100644 --- a/templates/zerver/api/outgoing-webhooks.md +++ b/templates/zerver/api/outgoing-webhooks.md @@ -5,7 +5,7 @@ which are notified when certain types of messages are sent in Zulip. When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. Webhooks can be used to power a wide range of Zulip integrations. For example, the -[Zulip botserver][zulip-botserver] is built on top of this API. +[Zulip Botserver][zulip-botserver] is built on top of this API. Zulip supports outgoing webhooks both in a clean native Zulip format, as well as a format that's compatible with diff --git a/templates/zerver/help/add-a-bot-or-integration.md b/templates/zerver/help/add-a-bot-or-integration.md index fe896acdbb..a7b38b9241 100644 --- a/templates/zerver/help/add-a-bot-or-integration.md +++ b/templates/zerver/help/add-a-bot-or-integration.md @@ -51,7 +51,7 @@ You can create three types of bots: to this Endpoint URL. Choose this type if you want to: * make Zulip post messages to a URL. - * deploy Zulip's [botserver](/api/deploying-bots). + * deploy Zulip's [Botserver](/api/deploying-bots). *This is the default way of deploying bots used in production.* ## Add an integration