Filip Jovanovic
Discord Crypto Tracker Bot
Discord bot written in Python discord.py
API from CoinGecko
Requirements
Use the package manager pip
pip3 install -r requirements.txt
Usage
Before using the bot create .env
file and provide the TOKEN
variable
Example of .env
file:
TOKEN = 'YOUR_TOKEN_HERE'
Logging
If you want to test the bot locally and be able to use terminal log start the script using python main.py --test
If you want to use the bot on the server with log file start the script using python main.py
Commands
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