aboutsummaryrefslogtreecommitdiff
path: root/modules/wolframalpha.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-19 13:25:12 +0100
committerGravatar jesopo2018-09-19 13:25:12 +0100
commitfcbb7c960ce8c9b693711b4b40d3fa86fd17d7cf (patch)
tree0015e3da000323b8f576f3303807176f1f4ea794 /modules/wolframalpha.py
parentFix some styling in ducks.py (diff)
signature
Refactor everything to use delimited events
Diffstat (limited to 'modules/wolframalpha.py')
-rw-r--r--modules/wolframalpha.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/wolframalpha.py b/modules/wolframalpha.py
index 6ef56192..e1a995a2 100644
--- a/modules/wolframalpha.py
+++ b/modules/wolframalpha.py
@@ -8,7 +8,7 @@ class Module(object):
_name = "Wolfram|Alpha"
def __init__(self, bot, events, exports):
self.bot = bot
- events.on("received").on("command").on("wolframalpha", "wa"
+ events.on("received.command").on("wolframalpha", "wa"
).hook(self.wa, min_args=1, help=
"Evauate a given string on Wolfram|Alpha",
usage="<query>")