mirror of https://github.com/zulip/zulip.git
docs: Add notes on future direction to the bots guide.
This commit is contained in:
parent
21f766c6dd
commit
15c6d683a9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue