ironman5366 / W.I.L.L

A python written personal assistant
https://willbeddow.com
MIT License
377 stars 58 forks source link

WILL multiplies instead of adding. #26

Closed Rich700000000000 closed 7 years ago

Rich700000000000 commented 8 years ago

I entered "What is 3 + 3", and it gave me 9. I entered "What is 22 + 22", and it gave me 484. This should be simple to clear up, right?

ironman5366 commented 8 years ago

It actually might not be. W.I.L.L has no dedicated math module, he instead uses wolframalpha since you're asking questions. The only fix would be to create a separate math plugin or add something of the sort to the search plugin. If you'd like me to I'll add it to my list

brenttaylor commented 8 years ago

Well wolfram alpha seems to be working just fine, my guess is that the '+' symbol isn't being encoded properly. Just a guess off the top of my head without the code in front of me.

ironman5366 commented 8 years ago

Just confirmed that this is due to slack encoding the command improperly. In the easygui based debugging client it worked.