From 92dca58c5c0f226345a6b76c8f512c5fe057bcec Mon Sep 17 00:00:00 2001 From: sora Date: Wed, 23 Oct 2019 11:16:29 +0200 Subject: [PATCH] fix --- config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config.js b/config.js index 89803b2..a8e31b9 100644 --- a/config.js +++ b/config.js @@ -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); });