fisher60 / friendo-bot

A Discord Bot that is just a good Friendo
MIT License
25 stars 24 forks source link

Math command #204

Closed jbutcher5 closed 2 years ago

jbutcher5 commented 3 years ago

Overview

This would be a command that evaluates a mathematical infix expression and displays the result. Usage: .math 1+1, .math sin(1.570796) I would like to implement this myself with this.

Issues

This is a synchronous library, I may be able to create an asynchronous binding but as it is already fast and efficient since the source code in written in C++ although we might just be able to limit the size of the expression to something around 40 characters give or take.