diff --git a/plugins/Dict/plugin.py b/plugins/Dict/plugin.py index 3eed6de64..9e5ec6f84 100644 --- a/plugins/Dict/plugin.py +++ b/plugins/Dict/plugin.py @@ -130,7 +130,7 @@ class Dict(callbacks.Plugin): def synonym(self, irc, msg, args, words): """ [ ...] - Gets a random synonym from the Moby Thesaurus (moby-thes) database. + Gets a random synonym from the Moby Thesaurus (moby-thesaurus) database. If given many words, gets a random synonym for each of them. @@ -142,7 +142,7 @@ class Dict(callbacks.Plugin): except socket.error as e: irc.error(utils.web.strError(e), Raise=True) - dictionary = 'moby-thes' + dictionary = 'moby-thesaurus' response = [] for word in words: definitions = conn.define(dictionary, word) diff --git a/plugins/Dict/test.py b/plugins/Dict/test.py index 983bf4688..2ec07c3cf 100644 --- a/plugins/Dict/test.py +++ b/plugins/Dict/test.py @@ -38,7 +38,7 @@ class DictTestCase(PluginTestCase): self.assertNotError('dict flutter') self.assertNotRegexp('dict web1913 slash', 'foldoc') self.assertError('dict ""') - self.assertRegexp('dict eng-fra school', 'école') + self.assertRegexp('dict fd-eng-fra school', 'école') def testDictionaries(self): self.assertNotError('dictionaries')