Moogsoft Docs

LamBot .js

LamBot.js is a JavaScript Closure, which is read in at the start of every LAMbot execution that constructs a common environment for an individual LAMbot. A variable called LAMbot is also defined which is placed into the global context of every LAMbot and provides, for example, access to the ability to load modules into the context of the JavaScript LAMbot. It also defines the name of, or points to, the filter function that is used to determine whether or not a constructed event should be passed on to the events bus.

As a system wide shared file, you should never edit LamBot.js as the file is linked to the internal implementation and making any changes will trigger unpredictable results.