kk
This commit is contained in:
parent
fd131b0b1d
commit
2f32a8381c
20
config.js
20
config.js
@ -112,17 +112,17 @@ module.exports = function(){
|
||||
});
|
||||
}else{
|
||||
return db.get_v(event.chat.id).then(res =>{
|
||||
|
||||
if(res){
|
||||
let kb = [];
|
||||
for(var rr in res){
|
||||
kb.push([bot.mkcb(rr,"del",rr)])
|
||||
if(res){
|
||||
let kb = [];
|
||||
for(var rr in res){
|
||||
kb.push([bot.mkcb(rr,"del",rr)])
|
||||
}
|
||||
kb.push([bot.mkcb_close("Close")]);
|
||||
return event.reply( (res+"") , {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
||||
}else{
|
||||
return event.reply("*No Tracking To Delete*", {"parse_mode":"Markdown"})
|
||||
}
|
||||
kb.push([bot.mkcb_close("Close")]);
|
||||
return event.reply( (res+"") , {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
||||
}else{
|
||||
return event.reply("*No Tracking To Delete*", {"parse_mode":"Markdown"})
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user