Fix minor errors in bots-guide.

This commit is contained in:
Abhijeet Kaur 2017-05-23 02:21:34 +05:30 committed by Tim Abbott
parent 643d70eae1
commit 9f17bded92
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ above as an orientation.
This guide will show you how to run a bot on a running Zulip
server. It assumes you want to use one of the existing `contrib_bots`
bots in your Zulip organization. If you want to write a new one, you
just need to write the `<my-bot>.py` script.
just need to write the `<my-bot>.py` script and put it into `/contrib_bots/bots/<my-bot>` directory.
You need:
@ -73,7 +73,7 @@ You need:
your bot.
* A computer where you're running the bot from, with a clone of the
[Zulip repository](https://github.com/zulip/zulip), which contains
the bot library code in its `contrib_bots` subdirectory. This is
the bot library code in its `contrib_bots/<my-bot>` subdirectory. This is
required to run your bot. The following instructions assume this
repository to be located in `~/zulip/`.
@ -330,7 +330,7 @@ client.update_message(dict(
* My bot won't start
* Ensure that your API config file is correct (download the config file from the server).
* Ensure that you bot script is located in zulip/contrib_bots/bots/<my-bot>/
* Ensure that your bot script is located in zulip/contrib_bots/bots/<my-bot>/
* Are you using your own Zulip development server? Ensure that you run your bot outside
the Vagrant environment.
* Some bots require Python 3. Try switching to a Python 3 environment before running