Filip Jovanovic
Discord bot written in Python using discord.py for tracking information about the cryptocurrencies
API from CoinGecko was used to fetch the data
Use the package manager pip to install requirements
pip3 install -r requirements.txt
Before using the bot create .env
file and provide the TOKEN
variable
Example of .env
file:
TOKEN = 'YOUR_TOKEN_HERE'
python main.py --test
python main.py
Command Explanation $sync Syncing slash commands with the guild /ath [coin] All time high for the coin /info [coin] Basic info for the coin (market cap, price, 24h change etc.) /pnl [coin] [type] [price] Profit and loss for the coin based on type of the position and the price when position was opened /price_change [coin] Price change (24h, 7 days, 14 days, 30 days) /price [coin] Price of the coin /top [n] Top n coins by the market cap