const resources = require('../props/resources.json'); const { getStrings } = require('../plugins/checklang.js'); module.exports = (bot) => { bot.start((ctx) => { const Strings = getStrings(ctx.from.language_code); ctx.replyWithPhoto( resources.lunaCat, { caption: Strings.lynxWelcome, parse_mode: 'Markdown', reply_to_message_id: ctx.message.message_id } ); }); };