Consistently use Botserver instead of botserver or bot server.
MODIFY
README.md
README.md
@@ -11,7 +11,7 @@ This repository contains the source code for Zulip's PyPI packages:
* `zulip_bots`: [PyPI package](https://pypi.python.org/pypi/zulip-bots)
for Zulip's bots and bots API.
* `zulip_botserver`: [PyPI package](https://pypi.python.org/pypi/zulip-botserver)
- for Zulip's Flask bot server.
+ for Zulip's Flask Botserver.
The source code is written in *Python 3*.

MODIFY
zulip_botserver/zulip-botserver-supervisord.conf
zulip_botserver/zulip-botserver-supervisord.conf
[program:zulip-bot-server]
command=zulip-bot-server --config-file=<path/to/your/botserverrc> --hostname <address> --port <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

MODIFY
zulip_botserver/zulip_botserver/input_parameters.py
zulip_botserver/zulip_botserver/input_parameters.py
@@ -22,7 +22,7 @@ def parse_args() -> argparse.Namespace:
'--config-file',
action='store',
required=True,
- help='Config file for the zulip bot server (botserverrc)'
+ help='Config file for the zulip Botserver (botserverrc)'
)
parser.add_argument(
'--bot-config-file',

MODIFY
zulip_botserver/zulip_botserver/server.py
zulip_botserver/zulip_botserver/server.py
@@ -109,7 +109,7 @@ def handle_bot() -> Union[str, BadRequest]:
bot = bot_name
break
else:
- return BadRequest("Cannot find a bot with email {} in the bot server "
+ return BadRequest("Cannot find a bot with email {} in the Botserver "
"configuration file. Do the emails in your botserverrc "
"match the bot emails on the server?".format(event['bot_email']))
lib_module = app.config.get("BOTS_LIB_MODULES", {})[bot]

Consistently use Botserver instead of botserver or bot server.