This is an example project for Botyo demonstrating how to configure and run a Facebook group chat bot.
The project has the following Botyo modules installed:
- Instagram Bundle
- Persistence Bundle
- Ping Command
- Quote Command
- Reverse Image Search Command
- ShowMe Command
- Spotify Command
- YouTube Command
Please refer to their project pages for configuration options.
This project can be run inside a multi-container Docker Compose environment, or natively.
- Node.js 8.3.0+
- MongoDB 3.0+ (required for the Persistence Bundle)
- Docker 17.06.0+ & Docker Compose (optional unless you're running Botyo inside Docker)
git clone https://github.com/ivkos/botyo-example.git
First, before running Botyo, you need copy the provided example configuration file, and edit it using your favorite text editor:
cp config_example.yaml config.yaml
nano config.yaml
Install the dependencies:
npm install
Build:
npm run build
Then run Botyo:
npm run start
Edit the configuration file following its recommendations for running inside Docker.
nano config.yaml
Start the multi-container Docker Compose application:
docker-compose up
This will build all relevant Docker images, and then start Botyo.
Study the structure of the project, its source files, configuration, and Docker files to learn what a working instance of Botyo consists of. Experiment with writing your own modules and extending Botyo.