docs: Add notes on future direction to the bots guide.

This commit is contained in:
Tim Abbott 2017-05-05 13:26:57 -07:00
parent 21f766c6dd
commit 15c6d683a9
1 changed files with 13 additions and 0 deletions

View File

@ -235,3 +235,16 @@ None.
* My bot works only on some streams.
* Subscribe your bot to other streams, as described [here](#how-to-deploy-a-bot).
## Future direction
The long-term plan for this bot system is to allow the same
`BotHandler` code to eventually be usable in several contexts:
* Run directly using the Zulip `call_on_each_message` API, which is
how the implementation above works. This is great for quick
development with minimal setup.
* Run in a simple Python webserver server, processing messages
received from Zulip's outgoing webhooks integration.
* For bots merged into the mainline Zulip codebase, enabled via a
button in the Zulip web UI, with no code deployment effort required.