Added Privacy Policy + changed commands layout to comply with new logger

This commit is contained in:
Lucas Gabriel 2024-06-02 12:54:12 +00:00
parent 612a48ca7f
commit bc97336b67
11 changed files with 47 additions and 27 deletions

View file

@ -1,7 +1,5 @@
module.exports = function(bot, msg) {
const chatId = msg.chat.id;
const userName = msg.from.first_name;
const userId = msg.from.id;
const lynxFullPhoto = 'https://graph.org/file/a77382dab4d62ba626806.jpg';
const message = `*Hello! I'm Lynx!*\n\nI'm a simple bot made entirely from scratch in Node.js by Lucas Gabriel (lucmsilva).\n\n` +
@ -12,11 +10,10 @@ module.exports = function(bot, msg) {
*/gay* - check if you are gay
*/help* - send this message
*/start* - start the bot
*/whois* - send some information about yourself\n\n` +
`*See my source code in:* [GitHub Repository](https://github.com/lucmsilva651/lynx)\n\n` +
*/whois* - send some information about yourself\n\n` +
`*See my source code in:* [GitHub Repository](https://github.com/lucmsilva651/lynx)\n\n` +
`Thanks to all users, testers, contributors, and others. Without you, perhaps this bot wouldn't be possible ❤️`;
bot.sendPhoto(chatId, lynxFullPhoto, { caption: message, parse_mode: 'Markdown' })
.catch(error => console.error('WARN: Message cannot be sent:', error));
console.log(`INFO: /help executed by ${userName}, ${userId}`);
}