5428c5f296
Generated by com2ann (slightly patched to avoid also converting assignment type annotations, which require Python 3.6), followed by some manual whitespace adjustment, and two fixes for use-before-define issues: - def set_zulip_client(self, zulipToJabberClient: ZulipToJabberBot) -> None: + def set_zulip_client(self, zulipToJabberClient: 'ZulipToJabberBot') -> None: -def init_from_options(options: Any, client: Optional[str] = None) -> Client: +def init_from_options(options: Any, client: Optional[str] = None) -> 'Client': Signed-off-by: Anders Kaseorg <anders@zulipchat.com> |
||
---|---|---|
.. | ||
tests | ||
zulip_botserver | ||
README.md | ||
setup.py | ||
zulip-botserver-supervisord.conf |
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.
Please make sure you have a current botserverrc file with the configurations of the required bots. Hostname and Port are optional arguments. Default hostname is 127.0.0.1 and default port is 5002.