From dcdca8f9eb43a9a76a19a792f17bdec6d9375257 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Tue, 15 Oct 2019 20:50:24 +0200 Subject: [PATCH] init wiki --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index aee8f3c..3afdc24 100644 --- a/config.js +++ b/config.js @@ -29,7 +29,7 @@ module.exports = function(){ }, action : (bot,event,message)=>{ - return wiki(message.text_arg).then(res=>{ + return dic(message.text_arg).then(res=>{ let txt = `*Definitions of ${message.text_arg}:\n`; for(let r of res.definitions){