An open API service indexing awesome lists of open source software.

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

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)