-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
good first issueGood for newcomersGood for newcomersjavaPull requests that update Java codePull requests that update Java code
Description
/convert is a command that can be used to convert between different units of measurement such as cm -> inches, mph -> m/s, bytes -> terrabytes and etc. The problem is that currently some of the formulas appear to be incorrect and the way that it formats some of the results appears to be incorrect too.
As for a solution, you really would have to just rewrite the whole thing. If it could possibly be made more dynamic, that would be fantastic, however I'm not sure how easy/hard that'd be and whether its worth the effort.
The current code for the command can be found here:
https://github.com/DaRealTurtyWurty/SuperTurtyBot/blob/main/src/main/java/dev/darealturtywurty/superturtybot/commands/util/ConvertCommand.java
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersjavaPull requests that update Java codePull requests that update Java code