This commit is contained in:
sora 2019-10-23 11:16:29 +02:00
parent de1a8c3cb8
commit 92dca58c5c

View File

@ -28,8 +28,6 @@ function get_count(){
}
get_count().then(res=>console.log(res))
//=== MAIN MODULE CONFIG
module.exports = function(name){
@ -55,7 +53,7 @@ module.exports = function(name){
},
action : (bot,event,message)=>{
return get_count().then(res=>{
return event.replyWithMarkdown(`*${res[0]}* preinscrits\n*${res[1]}* inscrits`);
return event.replyWithMarkdown("*"+res[0]+"* pré-inscrits\n*"+res[1]+"* inscrits");
}).catch(err=>{
return bot.error(err);
});