https://github.com/ngruychev/flow-price-stat
Discord bot for crypto price stats, a la Statbot
https://github.com/ngruychev/flow-price-stat
cryptocurrency deno discord-bot typescript
Last synced: about 1 month ago
JSON representation
Discord bot for crypto price stats, a la Statbot
- Host: GitHub
- URL: https://github.com/ngruychev/flow-price-stat
- Owner: ngruychev
- Created: 2022-01-22T04:20:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T21:38:20.000Z (over 4 years ago)
- Last Synced: 2025-06-05T13:05:18.389Z (about 1 year ago)
- Topics: cryptocurrency, deno, discord-bot, typescript
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FLOW price stats
This bot changes the name of a channel to match the price of a cryptocurrency,
a la Statbot
## Building
```sh
docker-compose build
```
## Running
```sh
docker-compose up -d
```
## Env variables
Configure in `.env`
- `DISCORD_TOKEN` - your token. required
- `BOT_ID` - the ID of your bot. required
- `STAT_CHANNEL_ID` - the ID of the channel to edit. required
- `TICKER_SYMBOL` - binance ticker symbol name. defaults to `FLOWUSDT`
- `STAT_NAME_PREFIX` - prefix of the message. defaults to `FLOW price: $`
- `STAT_NAME_SUFFIX` - suffix of the message. defaults to `USD`
- `UPDATE_INTERVAL` - update interval in seconds. defaults to `600` (10 minutes)