Error-479 / dave

dave automates virtually everything
GNU General Public License v3.0
3 stars 3 forks source link

Added simple command handler + fixed regex #11

Closed cam-wil closed 3 years ago

cam-wil commented 3 years ago

Added simple command handler. Maybe not the best way, but it works. This will help a lot with keeping the code organized when people start adding their own commands. Also, fixed the regex /(\s+)/ that was adding a blank string for every real string it found.