-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bots: Add a separate class "EmbeddedHandlerBots" in bot_lib.py.
Add another class for bot type as embedded bot, for bots that run directly on Zulip server. This class uses internal 'internal_send_messages' from actions.py instead of using the 'send_message' function from Zulip Client class. We haven't gone ahead with creating an abstract superclass right away. We just have two versions for now, it would be easier to iterate a little more on the interfaces, and then only add the superclass when we're ready to lock down the interface.
- Loading branch information
1 parent
1fc4064
commit c3d5057
Showing
1 changed file
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters