Coded
This commit is contained in:
parent
d47abc5337
commit
aebdc29f20
@ -138,7 +138,7 @@ module.exports = function(arr){
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
action : (bot,event,message)=>{
|
action : (bot,event,message)=>{
|
||||||
var kb = kb_gen(bot,this.arr,bot.master.lang);
|
var kb = gen_kb(bot,this.arr,bot.master.lang);
|
||||||
|
|
||||||
return event.reply("Select An Option", {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
return event.reply("Select An Option", {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
||||||
}
|
}
|
||||||
@ -160,7 +160,7 @@ module.exports = function(arr){
|
|||||||
|
|
||||||
if(data != "") arr = data.split("_");
|
if(data != "") arr = data.split("_");
|
||||||
|
|
||||||
let kb = kb_gen(bot,arr,bot.master.lang);
|
let kb = gen_kb(bot,arr,bot.master.lang);
|
||||||
|
|
||||||
return event.editMessageText("Select An Option", {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
return event.editMessageText("Select An Option", {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user