2
0
This commit is contained in:
Cedric Hoelzl 2019-10-21 14:37:19 +02:00
parent aebdc29f20
commit 5ead6658fc

View File

@ -138,7 +138,7 @@ module.exports = function(arr){
});
},
action : (bot,event,message)=>{
var kb = gen_kb(bot,this.arr,bot.master.lang);
var kb = gen_kb(bot,this.arr,event.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 = gen_kb(bot,arr,bot.master.lang);
let kb = gen_kb(bot,arr,event.master.lang);
return event.editMessageText("Select An Option", {"reply_markup":Markup.inlineKeyboard(kb),"parse_mode":"Markdown"});
}