This commit is contained in:
Cedric Hoelzl 2020-07-01 11:16:30 +02:00
parent 7fd34627a8
commit 36d98298b1

View File

@ -66,7 +66,7 @@ module.exports = function(){
}); });
}, },
action : (bot,event,message)=>{ 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 =>{ return db.get_v(event.chat.id).then(res =>{
if(res){ if(res){
return db.set_v(event.chat.id,res.concat(ids)).then(res=>{ return db.set_v(event.chat.id,res.concat(ids)).then(res=>{