mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 21:00:03 +00:00
Merge branch 'lucmsilva651:main' into main
This commit is contained in:
commit
ab0ab8dfdd
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
*.env
|
||||
*.gpg
|
||||
*.asc
|
||||
*.txt
|
||||
node_modules
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}`);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user