2
0
This commit is contained in:
Cedric Hoelzl 2019-10-21 14:36:16 +02:00
parent d47abc5337
commit aebdc29f20

View File

@ -138,7 +138,7 @@ module.exports = function(arr){
});
},
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"});
}
@ -160,7 +160,7 @@ module.exports = function(arr){
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"});
}