CryptoPriceBots is a system that instantiates multiple Discord bots to relay the price of a cryptocurrency to the bot's guild nickname.
- Clone the repository
- Install the dependencies in requirements.txt
- Create a Discord bot and invite it to your server, take note of the bot's token
- Rename
cpb_store.json.example
tocpb_store.json
- In
cpb_store.json
, replace the existing tickers with your desired tickers - (Optional) In
cpb_store.json
, set a variability threshold for your desired tickers. This is the minimum percent change in price that will trigger a price update on the bot's nickname - Rename
.env_template
to.env
and set the Discord bot tokens for your tickers - In main.py, change variables ending with
_id
to your IDs for your guild and channel - Run main.py