2017-11-14 12:28:08 -05:00
|
|
|
# Zulip bots
|
|
|
|
|
|
|
|
This directory contains the source code for the `zulip_bots` PyPI package.
|
|
|
|
|
|
|
|
The Zulip documentation has guides on [using Zulip's bot system](
|
2017-11-16 07:50:43 -05:00
|
|
|
https://chat.zulip.org/api/running-bots)
|
2017-11-14 12:28:08 -05:00
|
|
|
and [writing your own bots](
|
2017-11-16 07:50:43 -05:00
|
|
|
https://chat.zulip.org/api/writing-bots).
|
2017-11-14 12:28:08 -05:00
|
|
|
|
|
|
|
## Directory structure
|
|
|
|
|
|
|
|
```shell
|
|
|
|
zulip_bots # This directory
|
|
|
|
├───zulip_bots # `zulip_bots` package.
|
|
|
|
│ ├───bots/ # Actively maintained and tested bots.
|
|
|
|
│ ├───bots_unmaintained/ # Unmaintained, potentially broken bots.
|
2018-01-19 10:55:18 -05:00
|
|
|
│ ├───game_handler.py # Handles game-related bots.
|
2017-11-14 12:28:08 -05:00
|
|
|
│ ├───lib.py # Backbone of run.py
|
|
|
|
│ ├───provision.py # Creates a development environment.
|
|
|
|
│ ├───run.py # Used to run bots.
|
2017-11-28 11:44:39 -05:00
|
|
|
│ ├───simple_lib.py # Used for terminal testing.
|
2017-11-14 12:28:08 -05:00
|
|
|
│ ├───test_lib.py # Backbone for bot unit tests.
|
|
|
|
│ ├───test_run.py # Unit tests for run.py
|
2021-11-20 02:00:56 -05:00
|
|
|
│ └───bot_shell.py # Used to test bots in the command line.
|
2017-11-14 12:28:08 -05:00
|
|
|
└───setup.py # Script for packaging.
|
|
|
|
```
|