BACON is a Discord Bot designed to fulfill all my needs regarding Crypto and DeFi. This is mainly a project for fun, while at the same time it helps me keep an eye on Defi stats, such as coin prices.
(No, it has nothing to do with the abominable functional transformation baconjs)
This project is based on the JS discord.js module, so you will need the basics:
sudo apt-get install nodejs npm
Fortunately all my dependencies are stored in the package.json file, so you can easily install them:
npm install
In order to run this bot, you will need a package.json file with the following configuration (Please refer to the Discord documentation in order to set up your bot):
{
"token": "Private Bot token",
"guildId": "",
"clientId": ""
}
With this in the directory, just execute this command:
npm start
The bot commands are stored in the commands folder. Once you add new commands, you can easily register them with the following command:
npm run register
If you are a die-hard fan of whales, so can also run the dockerized application
docker build -t bacon .
docker run bacon
Feel free to contact me or drop an issue if you come up with anything else you can do with bacon! :D