My personal Facebook Messenger Bot
Create a .env
file at the root and add the fields FB_USER
and FB_PASS
.
Go to /src/threads
and the thread ids you want to watch for.
To add your commands, go to /src/commands
and follow the pattern. Commands uses the commander package for creating CLI.
Yarn
yarn
NPM
npm install
Yarn
yarn build && yarn start
npm
npm run build && npm run start