brainbotdev / brainbot

A simple and fun Ryver bot to liven up the conversation.
https://brainbot.bsoyka.me
MIT License
6 stars 8 forks source link

Unit Converter #89

Open DarianAmin opened 3 years ago

DarianAmin commented 3 years ago

Describe the solution you'd like Using the unit-converter PyPi module I would like to be able to work on a unit converter. This converter would run with the command !convert. This command would allow for unit conversion such as celsius to Fahrenheit and also conversion between metric and US customary units.

Command:

!convert <value> <units> to <units>

Examples:

1) !Convert 2.78 daN*mm^2 to mN*µm^2

2) !Convert 10 min to h

3) !Convert 10 ℃ to ℉

bsoyka commented 3 years ago

Looks like a good idea to me!