Discord Crypto Tracker Bot
Discord bot written in Python using discord.py for tracking information about the cryptocurrencies
API from CoinGecko was used to fetch the data
Requirements
Use the package manager pip to install requirements
pip3 install -r requirements.txt
Usage
Before using the bot create
.env file and provide the TOKEN variableExample 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 --testIf you want to use the bot on the server with log file start the script using
python main.pyCommands
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
0 likes · 23 views · Feb 24, 2024
Discord bot for tracking information about the cryptocurrencies