aichaos / rivescript-js

A RiveScript interpreter for JavaScript. RiveScript is a scripting language for chatterbots.
https://www.rivescript.com/
MIT License
377 stars 145 forks source link

Case-sensitive user inputs (#246) #378

Closed kirsle closed 2 years ago

kirsle commented 2 years ago

In #246 the feature was based on the old CoffeeScript sources of rivescript-js before they were ported to modern JavaScript in the big Async/Await update of v2.0.0.

This PR implements the equivalent changes on the latest master branch. A lot of the noise was vscodium reformatting my files, see with whitespace ignored for the meat of the changes.