newv
This commit is contained in:
parent
19fa7c172c
commit
4cfe8cd325
@ -146,7 +146,7 @@ module.exports = function(){
|
|||||||
kb.push([bot.mkcb_close("Close"),bot.mkcb("Delete","del","")]);
|
kb.push([bot.mkcb_close("Close"),bot.mkcb("Delete","del","")]);
|
||||||
var new_ids = [];
|
var new_ids = [];
|
||||||
if(message.text_arg && message.text_arg.length >0){
|
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 =>{
|
return db.get_v(event.chat.id).then(res =>{
|
||||||
var ids = res.concat(new_ids);
|
var ids = res.concat(new_ids);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user