Base files added
This commit is contained in:
commit
2eb6934b23
6 changed files with 1686 additions and 0 deletions
20
README.md
Normal file
20
README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Lynx (Node.js Telegram Bot)
|
||||
Welcome to the Lynx source code!
|
||||
|
||||
## Requirements
|
||||
- Node.js
|
||||
- node-telegram-bot-api
|
||||
|
||||
## Develop or contribute with Lynx
|
||||
First, create a ``config.env`` file and put the content below:
|
||||
```
|
||||
# insert your bot token here
|
||||
# get it with @BotFather on Telegram
|
||||
TGBOT_TOKEN=0000000000:AAAaaAAaaaaAaAaaAAAaaa_aaaaAAAAAaaa
|
||||
```
|
||||
Put your bot token that you created at [@BotFather](https://t.me/botfather) at the variable ``TGBOT_TOKEN`` (as the example above) and save the file.
|
||||
|
||||
At last, run the bot with ``npm start``.
|
||||
|
||||
## License
|
||||
MIT - 2024 Lucas Gabriel (lucmsilva).
|
Loading…
Add table
Add a link
Reference in a new issue