https://github.com/kybernetwork/telegram-query-bot
Telegram bot for querying data from Kyber
https://github.com/kybernetwork/telegram-query-bot
Last synced: 4 days ago
JSON representation
Telegram bot for querying data from Kyber
- Host: GitHub
- URL: https://github.com/kybernetwork/telegram-query-bot
- Owner: KyberNetwork
- License: mit
- Created: 2019-07-23T10:22:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:02:48.000Z (over 2 years ago)
- Last Synced: 2025-06-01T11:13:52.506Z (about 1 month ago)
- Language: JavaScript
- Size: 999 KB
- Stars: 7
- Watchers: 3
- Forks: 71
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-query-bot
Telegram bot automating Kyber queries. Uses the [Telegraf](https://github.com/telegraf/telegraf) Telegram bot framework.
Bots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically.
Users can interact with bots by sending them command messages in private or group chats.### Installation
```
$ npm install
```### Setup
1) Create an .env file in the root directory, containing your Infura and / or Alchemy API keys and Telegram bot token. Note: Omit the bot prefix in the Telegram token.
e.g.
```
ALCHEMY_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFURA_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TELEGRAM_TOKEN=xxxxxxxxx:xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxx
```### Running
To run in development mode (restarts at every file change)
```
npm run dev
```To run in production mode
```
npm run start
```