MCPcopy
hub / github.com/botui/botui / _handleAction

Function _handleAction

src/scripts/botui.js:84–92  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

82 }
83
84 function _handleAction(text) {
85 if(_instance.action.addMessage) {
86 _interface.message.human({
87 delay: 100,
88 content: text
89 });
90 }
91 _instance.action.show = !_instance.action.autoHide;
92 }
93
94 var _botuiComponent = {
95 template: 'BOTUI_TEMPLATE', // replaced by HTML template during build. see Gulpfile.js

Callers 1

botui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…