zulip-botserver --config-file <path to botserverrc> --hostname <address> --port <port>
Example: zulip-botserver --config-file ~/botserverrc
This program loads the bot configurations from the
config file (botserverrc, here) and loads the bot modules.
It then starts the server and fetches the requests to the
above loaded modules and returns the success/failure result.
The --hostname and --port arguments are optional, and default to
127.0.0.1 and 5002 respectively.
The format for a configuration file is:
[helloworld]
key=value
email=helloworld-bot@zulip.com
site=http://localhost
token=abcd1234
bot-config-file=helloworld.conf
Is passed --use-env-vars instead of --config-file, the
configuration can instead be provided via the ZULIP_BOTSERVER_CONFIG
environment variable. This should be a JSON-formatted dictionary of
bot names to dictionary of their configuration; for example:
ZULIP_BOTSERVER_CONFIG='{"helloworld":{"email":"helloworld-bot@zulip.com","key":"value","site":"http://localhost","token":"abcd1234"}}' \
zulip-botserver --use-env-vars
Metadata
Release files for zulip-botserver 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zulip_botserver-0.9.1.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zulip_botserver-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / zulip_botserver-0.9.1.tar.gz
| Download URL | zulip_botserver-0.9.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf125a3d6204ec1589f533c93b5ed21b0dd442b8d6de1191e99a14ad96fdbb55
|
|
BLAKE2b-256 checksum How to use checksums |
25ef20acf9115c8f93d116bd6291cb0667a610c8c92ca2daccfd2f9e775c3a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / zulip_botserver-0.9.1-py3-none-any.whl
| Download URL | zulip_botserver-0.9.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b9a63e015eb3461cace31f2d76b32ef7e5ad5d503823f46f014c23311eae1d1
|
|
BLAKE2b-256 checksum How to use checksums |
c8aa4cfd11936257c5d6717cebac4e5858f9140597ff9e075c8174d10a256fb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|