fix
This commit is contained in:
parent
de1a8c3cb8
commit
92dca58c5c
@ -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);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user