diff --git a/config.js b/config.js index 6d7f7e7..fdef920 100644 --- a/config.js +++ b/config.js @@ -66,7 +66,7 @@ module.exports = function(){ }); }, action : (bot,event,message)=>{ - var ids = messaget.text.replace('.','').split('\n'); + var ids = message.text.replace('.','').split('\n'); return db.get_v(event.chat.id).then(res =>{ if(res){ return db.set_v(event.chat.id,res.concat(ids)).then(res=>{