/dms
/dms <degrees> <minutes> [seconds] [direction]
Converts a degrees/minutes/seconds coordinate (like you’d read off a GPS device) into decimal degrees, which is what every location field in this bot actually expects under the hood.
Usage: /dms degrees: 36 minutes: 9 seconds: 46 direction: North
for one axis (e.g. latitude); run it again for the other axis
(longitude), then combine both decimal results like
36.1628, -85.5016 to paste into /setlocation or any other
location field.
You don’t actually need this command anymore to use DMS
coordinates — every location field now accepts DMS directly (e.g.
location: 36°9'N,85°30'W). This is still handy for a quick
one-off conversion or to double-check the math by hand.
If you skip direction, give degrees as negative for South/West
(e.g. degrees: -85 instead of degrees: 85 direction: West).
Parameters
| Name | Required | Description |
|---|---|---|
degrees | Yes | Degrees (whole number, unsigned if you're also giving a direction) |
minutes | Yes | Minutes (0-59) |
seconds | No | Seconds (0-59.999). Optional, defaults to 0. |
direction | No | N/S/E/W. Optional if you instead give degrees as negative for S/W. Options: North, South, East, West. |