- Install Node
- Install NPM
- Install libtool-bin -
sudo apt install libtool-bin - Install automake -
sudo apt install automake - Install autoconf -
sudo apt install autoconf - Optional: Install pm2
npm install pm2 -g
- Clone this repo
git clone https://github.com/eriteric/boogiebot.git - Install dependencies: Cd to project root and:
npm install - Add an auth.json file in the project root with your bot key
{
"token": "xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx"
}
- Start boogiebot:
npm run bot - Start boogiebot with Greeno to keep him awake:
pm2 start pm2.json -i 1 - Have Greeno restart boogiebot with no dead air:
pm2 reload boogiebot
Boogiebot will store each triggering message and its reply in the logs.
- View logs:
pm2 logs - Clear logs:
pm2 flush