aboutsummaryrefslogtreecommitdiff
path: root/modules/wolframalpha.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/wolframalpha.py')
-rw-r--r--modules/wolframalpha.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/wolframalpha.py b/modules/wolframalpha.py
index 6415639c..292016e4 100644
--- a/modules/wolframalpha.py
+++ b/modules/wolframalpha.py
@@ -1,13 +1,11 @@
#--require-config wolframalpha-api-key
import json
-from src import Utils
+from src import ModuleManager, Utils
URL_WA = "https://api.wolframalpha.com/v1/result"
-class Module(object):
+class Module(ModuleManager.BaseModule):
_name = "Wolfram|Alpha"
- def __init__(self, bot, events, exports):
- self.bot = bot
@Utils.hook("received.command.wolframalpha|wa", min_args=1, usage="<query>")
def wa(self, event):