Get a Bot to change it's activity status to the current gas prices for Ethereum.
- Discord Dev URL https://discord.com/developers/applications
- Discord Bot Docs https://discord.com/developers/docs/intro
- Etherscan API gas tracker https://docs.etherscan.io/api-endpoints/gas-tracker
- Get the needed packages with
npm install
- Create
.env
and fill it with the needed values - run with
node index.js
DISCORD_TOKEN=
ETHERSCAN_PRIV=
- gas: replies with current gas prices on etherscan
- alert: alert user when gas reaches specified amount