Merge branch 'lucmsilva651:main' into main

This commit is contained in:
mthlma 2024-06-01 22:59:01 -03:00 committed by GitHub
commit ab0ab8dfdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
*.env
*.gpg
*.asc
*.txt
node_modules

View File

@ -11,6 +11,7 @@ Lynx is a a simple Telegram bot made in Node.js.
- You can edit this file and the ``package.json`` file as your needs.
- The name of the command file will always be the command itself.
- Example: ``whois.js`` will always be ``/whois`` on Telegram.
- Also, to see your changes, please restart the bot before making a issue.
## Develop or contribute with Lynx
First, [make a fork of this repo](https://github.com/lucmsilva651/lynx/fork), or clone it with

View File

@ -5,7 +5,7 @@ module.exports = function(bot, msg) {
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` +
`I might be running on a GitHub Codespaces server (see /stats), so please refrain from overusing or spamming the bot!\n\n` +
`I am running on a *GitHub Codespaces* server (see /stats), so please refrain from overusing or spamming the bot!\n\n` +
`*Some commands to test*:
*/chatinfo*: send some information about the group
*/furry*: check if you are a furry

View File

@ -32,6 +32,5 @@ module.exports = function (bot, msg) {
bot.sendMessage(chatId, message, { parse_mode: 'Markdown' })
.catch(error => console.error('ERROR: Message cannot be sent:', error));
console.log(`INFO: /stats executed by ${userName}, ${userId}`);
};