Skip to content

ncitron/GasBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GasBot

A discord bot for keeping track of Ethereum gas prices.

Usage

To Invite the bot to your server, use the Discord invite link. The bot's nickname is automatically updated every 10 seconds to reflect current gas prices.
To query the fastest, fast, average, and safe, low, use the command:
!gas
To set a price alert at a particular price in gwei, use the command:
!gas alert <price_in_gwei>

Self Hosting

If you would like to host the bot yourself, first set up a Discord bot through the Discord Developer portal. Also obtain an API key from Eth Gas Station. Next, pull this repository onto your local machine:
git clone <git_url>
Open the .env file, and imput your API keys in the correct spaces.
Next, ensure that you have NodeJS and NPM installed and run:
npm install
node .
Congratulations! You now have a running the Discord bot.

About

A Discord bot for tracking Ethereum gas prices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published