diff --git a/config.js b/config.js index 3ea1457..d05af6a 100644 --- a/config.js +++ b/config.js @@ -146,7 +146,7 @@ module.exports = function(){ kb.push([bot.mkcb_close("Close"),bot.mkcb("Delete","del","")]); var new_ids = []; if(message.text_arg && message.text_arg.length >0){ - new_ids = message.text_args.replace('.','').replace(',','\n').replace(' ','\n').split('\n'); + new_ids = message.text_arg.replace('.','').replace(',','\n').replace(' ','\n').split('\n'); } return db.get_v(event.chat.id).then(res =>{ var ids = res.concat(new_ids);