mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 21:00:03 +00:00
20 lines
590 B
Markdown
20 lines
590 B
Markdown
![]() |
# 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).
|