Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow equations in place of numbers #60

Open
Trimatix opened this issue Jul 26, 2021 · 1 comment
Open

Allow equations in place of numbers #60

Trimatix opened this issue Jul 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Trimatix
Copy link
Contributor

if message content can be parsed as an equation, evaluate it and check the result against the current number.

Example parsing library: https://github.com/silentmatt/expr-eval

@benslv
Copy link
Owner

benslv commented Jul 28, 2021

I imagine this would be feature you can toggle on and off with some kind of setting, right? Also worth considering any potential security concerns letting users essentially run an eval() command whenever they want (although I imagine that might be why we use that parsing library instead of handling it ourselves).

@benslv benslv added the enhancement New feature or request label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants