🏡 index : ~doyle/dave.git

author Jordan Doyle <jordanjd@amazon.com> 2017-11-01 12:06:23.0 +00:00:00
committer Jordan Doyle <jordanjd@amazon.com> 2017-11-01 12:06:23.0 +00:00:00
commit
3236a0e97361764064781aba15b19c3468c34287 [patch]
tree
0813cbf802e557fc325dc19bd4e31ee9e9745c92
parent
4ec579f2cc07044ad14195d96fd055081cbf61d6
download
3236a0e97361764064781aba15b19c3468c34287.tar.gz

fix ltc overriding btc method



Diff

 dave/modules/cryptocurrency.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dave/modules/cryptocurrency.py b/dave/modules/cryptocurrency.py
index 44cadc4..af9b989 100644
--- a/dave/modules/cryptocurrency.py
+++ a/dave/modules/cryptocurrency.py
@@ -20,7 +20,7 @@

@dave.module.help("Syntax: ltc. Get the current LTC prices from preev.")
@dave.module.command(["ltc"], '?([a-zA-Z]*)?')
def btc(bot, args, sender, source):
def ltc(bot, args, sender, source):
    crypto(bot, ['ltc', args[0]], sender, source)

@dave.module.help("Syntax: crypto [btc/ltc/etc] (usd/gbp/btc/etc). Get current prices "