mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
Update words.js
This commit is contained in:
parent
047ed35f83
commit
d647b35405
@ -65,7 +65,7 @@ var words = function(dbot) {
|
||||
if(!err && word) {
|
||||
this.wn.definitions(encodeURIComponent(word.word), function(err, defs) {
|
||||
if(!err && defs[0]) {
|
||||
if(!defs[0].text.match(/plural/i)) {
|
||||
if(!defs[0].text.match(/plural/i) && !defs[0].text.match(/participle/i)) {
|
||||
event.reply(dbot.t('def', {
|
||||
'word': word.word,
|
||||
'definition': defs[0].text
|
||||
|
Loading…
Reference in New Issue
Block a user