Skip to content

exchange

smileyhead edited this page Aug 24, 2025 · 1 revision

The /exchange command converts a value between two currencies. This command uses the Exchange API by Fawaz Ahmed. The command takes three arguments: the input number, the source currency, and the target currency or ‘Quick Reference’. This command supports auto-completion for currencies – when less than 2 characters are typed, a fixed list of relevant currencies for the server will be displayed.

Quick Reference: The Quick Reference function is designed to easily provide context by exchanging a currency to all currencies relevant on the server in one reply. The output currencies at this time are (in alphabetical order): Canadian dollars, Costa Rican colóns, euros, Hungarian forints, Indonesian rupiah, Japanese yen, Kazakhstani tenges, Philippine pesos, United States dollars, and Vietnamese dongs. If a currency in this list is the same as the input currency, it will be excluded from the output.

Updating: Every time a conversion is called, the age of the current database will be checked first. If it exceeds 26 hours, a new database is fetched before the conversion is performed. The source is updated every day at an irregular time roughly between 01:00 and 07:00 GMT.

Usage: /exchange 50 [euro (EUR)] [Hungarian forint (HUF)] (auto-completed) returns the value of 50 EUR converted to HUF.

Clone this wiki locally