modified docstring/helptext a bit
This commit is contained in:
parent
8d171ffdbe
commit
8b09a8b9e7
|
@ -13,7 +13,11 @@ BTC_URI = "https://api.coindesk.com/v1/bpi/currentprice/{CUR_TO}.json"
|
|||
@commands('cur', 'currency', 'exchange')
|
||||
@example('.cur 20 EUR to USD')
|
||||
def exchange(bot, trigger):
|
||||
"""Show the exchange rate between two currencies"""
|
||||
"""
|
||||
Show the exchange rate between two currencies.
|
||||
|
||||
Supported currencies: https://www.exchangerate-api.com/supported-currencies
|
||||
"""
|
||||
amount = trigger.group(3)
|
||||
cur_from = trigger.group(4)
|
||||
cur_to = trigger.group(5)
|
||||
|
|
Loading…
Reference in New Issue
Block a user