mirror of
https://github.com/reality/dbot.git
synced 2024-12-27 05:02:36 +01:00
b43be1f900
Due to issue #596 I coded a basic unit converter to convert time, distance, mass, volume and digital values. It depends on node-units. Also, fixed a typo.
24 lines
516 B
Markdown
24 lines
516 B
Markdown
## Unit conversion
|
|
|
|
Converts units into other units.
|
|
|
|
### Description
|
|
|
|
This module provides a command which allows users to convert units into another
|
|
unit given the international character of networks. Converts time, distance,
|
|
mass, volume and digital values.
|
|
|
|
It has following dependencies:
|
|
node-units : https://github.com/brettlangdon/node-units
|
|
|
|
### Commands
|
|
|
|
#### ~convert [input value] [input unit] to [output unit]
|
|
|
|
Example:
|
|
~convert 5 minutes to s
|
|
~convert 20 quarts to gallons
|
|
|
|
### TODO
|
|
|
|
Currency Conversion |