Skip to content

Commit 815e31d

Browse files
author
Mike Holloway
committed
update to errbot 6.1.1
1 parent c5d254a commit 815e31d

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

docker-compose-swarmstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ configs:
2929

3030
services:
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

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ configs:
1717

1818
services:
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

local_backends/err-backend-cisco-webex-teams/CiscoWebexTeams.plug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Module = CiscoWebexTeams
66
Description = This is a backend implementation for Cisco Webex Teams
77

88
[Python]
9-
Version = 3.6+
9+
Version = 3.6.0

local_backends/err-backend-cisco-webex-teams/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,29 @@ BOT_EXTRA_BACKEND_DIR = '/path_to/err-backend-cisco-webex-teams'
3535
To configure the bot you will need a Bot TOKEN. If you don't already have a bot setup on Cisco Webex Teams details can
3636
be found here: https://developer.webex.com/bots.html.
3737

38-
```
38+
```python
3939
BOT_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

4663
I unrestrainedly plagiarized from most of the already existing err backends and cgascoig's ciscospark-websocket implementation

0 commit comments

Comments
 (0)