From 4cfe8cd32512a30dda582b2f5744e0e40b3ed099 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Tue, 14 Jul 2020 13:40:26 +0200 Subject: [PATCH] newv --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);