diff options
Diffstat (limited to 'modules/thesaurus.py')
| -rw-r--r-- | modules/thesaurus.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/thesaurus.py b/modules/thesaurus.py index 3791d609..b34c2f04 100644 --- a/modules/thesaurus.py +++ b/modules/thesaurus.py @@ -1,13 +1,10 @@ #--require-config bighugethesaurus-api-key -from src import Utils +from src import ModuleManager, Utils URL_THESAURUS = "http://words.bighugelabs.com/api/2/%s/%s/json" -class Module(object): - def __init__(self, bot, events, exports): - self.bot = bot - +class Module(ModuleManager.BaseModule): @Utils.hook("received.command.synonym|antonym", min_args=1, usage="<word> [type]") def thesaurus(self, event): |
