Skip to content

Commit 3cc26d6

Browse files
committed
Fix TypeError due to missing arg in crypto aliases
1 parent 27615fe commit 3cc26d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/cryptocurrency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def get_request(ticker, currency):
4949

5050

5151
def alias_wrapper(alias):
52-
def func(text):
53-
return crypto_command(" ".join((alias.name, text)))
52+
def func(text, reply):
53+
return crypto_command(" ".join((alias.name, text)), reply)
5454

5555
func.__doc__ = """- Returns the current {} value""".format(alias.name)
5656
func.__name__ = alias.name + "_alias"

0 commit comments

Comments
 (0)