mirror of
https://github.com/reality/dbot.git
synced 2024-12-26 04:32:37 +01:00
like
This commit is contained in:
parent
f0398fe8fc
commit
0cf845f099
@ -65,6 +65,7 @@ var words = function(dbot) {
|
||||
if(!err && word) {
|
||||
this.wn.definitions(encodeURIComponent(word.word), function(err, defs) {
|
||||
if(!err && defs[0]) {
|
||||
console.log(defs[0].toString());
|
||||
if(!defs[0].toString().match(/plural/i)) {
|
||||
event.reply(dbot.t('def', {
|
||||
'word': word.word,
|
||||
|
Loading…
Reference in New Issue
Block a user