This PR includes changes I wanted to make BEFORE implementing the new feature to include the command and prompt in the framework's trigger object, which is passed to framework.hears(). In includes:
Added a new framework config option profileMsgProcessingTime. Set to true to profile time spent in framework and hears() callbacks per message. The framework will log the processing time per message to the console when set. When framework.stop() is called the total number of messages processed and the average processing time will be displayed in the console.
This was added in anticipation of adding a new feature to extract the bot command and prompt into the trigger object. Depending on this feature's impact on the processing time, the command/prompt feature may or may not be on by default.
Added new documentation with more details on how to contribute, with specific attention to how to run the tests.
Accepted Dependency Bot Recommendations
Bump decode-uri-component from 0.2.0 to 0.2.2
Bump @xmldom/xmldom from 0.7.5 to 0.7.8
This PR includes changes I wanted to make BEFORE implementing the new feature to include the command and prompt in the framework's trigger object, which is passed to framework.hears(). In includes:
Added a new framework config option profileMsgProcessingTime. Set to true to profile time spent in framework and hears() callbacks per message. The framework will log the processing time per message to the console when set. When framework.stop() is called the total number of messages processed and the average processing time will be displayed in the console. This was added in anticipation of adding a new feature to extract the bot command and prompt into the trigger object. Depending on this feature's impact on the processing time, the command/prompt feature may or may not be on by default. Added new documentation with more details on how to contribute, with specific attention to how to run the tests. Accepted Dependency Bot Recommendations Bump decode-uri-component from 0.2.0 to 0.2.2 Bump @xmldom/xmldom from 0.7.5 to 0.7.8