@tiledesk/tiledesk-tybot-connector 2.0.10-rc12 → 2.0.10-rc13
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/package.json
CHANGED
|
@@ -33,7 +33,7 @@ class DirClose {
|
|
|
33
33
|
winston.error("(DirClose) Error: ", err);
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
this.logger.
|
|
36
|
+
this.logger.info("[Close] Request closed");
|
|
37
37
|
await this.chatbot.deleteParameter(TiledeskChatbotConst.USER_INPUT);
|
|
38
38
|
}
|
|
39
39
|
this.logger.info("[Close] Action completed");
|
|
@@ -101,7 +101,7 @@ class DirDepartment {
|
|
|
101
101
|
this.logger.error("[Change Department] Unable to trigger bot");
|
|
102
102
|
winston.error("(DirDepartment) Error sending hidden message: " + err.message)
|
|
103
103
|
} else {
|
|
104
|
-
this.logger.
|
|
104
|
+
this.logger.debug("[Change Department] Bot triggered");
|
|
105
105
|
winston.debug("(DirDepartment) Hidden message sent.");
|
|
106
106
|
|
|
107
107
|
}
|
|
@@ -110,7 +110,7 @@ class DirDepartment {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
|
-
this.logger.
|
|
113
|
+
this.logger.debug("[Change Department] No triggering bot");
|
|
114
114
|
winston.debug("(DirDepartment) No action.triggerBot");
|
|
115
115
|
callback();
|
|
116
116
|
}
|
|
@@ -60,7 +60,7 @@ class DirWait {
|
|
|
60
60
|
// await this.tdcache.set(step_key, 0);
|
|
61
61
|
await TiledeskChatbot.resetStep(this.tdcache, this.requestId);
|
|
62
62
|
}
|
|
63
|
-
this.logger.
|
|
63
|
+
this.logger.debug("[Wait] Waiting for ", action.millis, "[ms]")
|
|
64
64
|
setTimeout(() => {
|
|
65
65
|
callback();
|
|
66
66
|
}, action.millis);
|