aboutsummaryrefslogtreecommitdiff
path: root/modules/bitcoin.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bitcoin.py')
-rw-r--r--modules/bitcoin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/bitcoin.py b/modules/bitcoin.py
index 1c88c0bb..07678d68 100644
--- a/modules/bitcoin.py
+++ b/modules/bitcoin.py
@@ -3,10 +3,11 @@ from src import ModuleManager, Utils
class Module(ModuleManager.BaseModule):
_name = "BTC"
- @Utils.hook("received.command.btc", usage="[currency]")
+ @Utils.hook("received.command.btc")
def btc(self, event):
"""
- Get the exchange rate of bitcoins
+ :help: Get the exchange rate of bitcoins
+ :usage: [currency]
"""
currency = (event["args"] or "USD").upper()
page = Utils.get_url("https://blockchain.info/ticker",