CoinGeckoBot Discord Crypto Price Bot
Deploy to Heroku:
- Fork Repo
- Create new app on heroku
- Connect to Github
- Select Repo
- Configure Config Vars in settings
- Deploy
- Start worker (Resources)
HEROKU Example Config Vars:
- DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
- REFRESH_TIMER=60
- CONTRACT=0xdac17f958d2ee523a2206206994597c13d831ec7
- CHAIN=ethereum # https://api.coingecko.com/api/v3/asset_platforms
- CURRENCY=usd
- NAME=USDT
Discord bot setup:
- Go to https://discord.com/developers/
- Create new app "New Application"
- Bot -> Add Bot
- oAuth2 -> URL Generator-> SCOPES: "bot" -> BOT PERMISSIONS: "Administrator" -> GENERATED URL: Copy
- Paste URL in new Tab -> select Discord server
- Bot -> TOKEN: Copy -> use as "YOUR_DISCORD_BOT_TOKEN"
Sources: