3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-26 04:32:37 +01:00
This commit is contained in:
reality 2014-11-29 05:08:26 +00:00
parent f0398fe8fc
commit 0cf845f099

View File

@ -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,