kowalski/commands/privacy.js
mthlma fd3196a34f
Update README.md + Translations (#6)
* Update README.md

Now we don't have config.env anymore, we now use config.json inside props folder

* Add portuguese.json

* Set portuguese language if  user's telegram app is in portuguese

* oh fudge, I forgot this one

---------

Co-authored-by: GiovaniFZ <giovanifinazzi@gmail.com>
2024-07-25 23:40:22 -03:00

14 lines
359 B
JavaScript

const { getStrings } = require('./checklang');
module.exports = (bot) => {
bot.command('privacy', (ctx) => {
const Strings = getStrings(ctx.from.language_code);
ctx.reply(
Strings.lynxPrivacy, {
parse_mode: 'Markdown',
disable_web_page_preview: true,
reply_to_message_id: ctx.message.message_id
}
);
});
};