File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
local_backends/err-backend-cisco-webex-teams Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ configs:
2929
3030services :
3131 errbot :
32- image : swarmstack/errbot-docker:5.2.0
32+ image : swarmstack/errbot-docker:6.1.1
3333 configs :
3434 - source : errbot_config
3535 target : /err/config.py
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ configs:
1717
1818services :
1919 errbot :
20- image : swarmstack/errbot-docker:5.2.0
20+ image : swarmstack/errbot-docker:6.1.1
2121 configs :
2222 - source : errbot_config
2323 target : /err/config.py
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ Module = CiscoWebexTeams
66Description = This is a backend implementation for Cisco Webex Teams
77
88[Python]
9- Version = 3.6+
9+ Version = 3.6.0
Original file line number Diff line number Diff line change @@ -35,12 +35,29 @@ BOT_EXTRA_BACKEND_DIR = '/path_to/err-backend-cisco-webex-teams'
3535To configure the bot you will need a Bot TOKEN. If you don't already have a bot setup on Cisco Webex Teams details can
3636be found here: https://developer.webex.com/bots.html .
3737
38- ```
38+ ``` python
3939BOT_IDENTITY = {
4040 ' TOKEN' : ' <insert your token in here>' ,
4141}
4242```
4343
44+ In a Webex Teams GROUP room (more than two people), to direct a command to the bot you need to prefix it with the name of the
45+ bot as you would any other person in the room (for example, type @ and select the bot name).
46+ As Webex Teams will prefix the command with this name it is important that it is stripped from the
47+ incoming command for it to be processed correctly. To achieve this add your bot name
48+ (exactly as configured in Webex Teams) to the BOT_PREFIX:
49+
50+ ``` python
51+ BOT_PREFIX = ' my-webex-teams-bot-name '
52+ ```
53+
54+ In a Webex Teams DIRECT room chat with the bot the bot prefix is not sent with the command. Ensure
55+ to enable BOT_PREFIX_OPTIONAL_ON_CHAT so that the prefix is not required for direct communication:
56+
57+ ``` python
58+ BOT_PREFIX_OPTIONAL_ON_CHAT = True
59+ ```
60+
4461## Credit
4562
4663I unrestrainedly plagiarized from most of the already existing err backends and cgascoig's ciscospark-websocket implementation
You can’t perform that action at this time.
0 commit comments