mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
test
This commit is contained in:
parent
e0c2ec36f8
commit
b74ba66a87
@ -16,6 +16,7 @@ var words = function(dbot) {
|
||||
'~etymology': function(event) {
|
||||
var query = event.params[1];
|
||||
this.wn.etymologies(encodeURIComponent(query), function(err, defs) {
|
||||
console.log(defs);
|
||||
if(!err && defs[0]) {
|
||||
event.reply(query + ' etymology: ' +
|
||||
defs[0].replace(/<\/?[^>]+(>|$)/g, ""));
|
||||
|
Loading…
Reference in New Issue
Block a user