@tiledesk/tiledesk-tybot-connector 0.2.133 → 0.2.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,9 @@ available on:
|
|
|
17
17
|
- Added flowError on JSONCondition when result = null
|
|
18
18
|
- Added fix on Filler -->
|
|
19
19
|
|
|
20
|
+
# v0.2.134
|
|
21
|
+
- Added filter for mweb on hidden messages
|
|
22
|
+
|
|
20
23
|
# v0.2.133
|
|
21
24
|
- Removed MAX_STEPS and MAX_EXECUTION_TIME as static variable of TiledeskChatbot
|
|
22
25
|
|
package/package.json
CHANGED
|
@@ -93,6 +93,14 @@ class DirMessage {
|
|
|
93
93
|
// const message = action.body.message;
|
|
94
94
|
const message = action;
|
|
95
95
|
if (this.log) {console.log("Message to extEndpoint:", JSON.stringify(message))};
|
|
96
|
+
|
|
97
|
+
if (this.projectId === "656054000410fa00132e5dcc") {
|
|
98
|
+
if (!message.text.startsWith('/')) {
|
|
99
|
+
callback();
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
96
104
|
let extEndpoint = `${this.API_ENDPOINT}/modules/tilebot`;
|
|
97
105
|
if (this.TILEBOT_ENDPOINT) {
|
|
98
106
|
extEndpoint = `${this.TILEBOT_ENDPOINT}`;
|