About The Project
This project contains the source code for the Sheepstar Bot, a Discord bot that is used to create global channels. Learn more here.
Installation
To make this process easier, we decided to make a Docker Image. You can install it by running the following command:
git clone https://github.com/SheepstarStudio/Bot.git
cd Bot
docker build -t sheepstar-bot .
After that, you can run the bot by running the following command:
docker run -d --name sheepstar-bot -v config.json:/data/config.json sheepstar-bot
You also need to create a config file. See the config.json.example file for an example. It contains information about the bot token and the database.
Build from source
Prerequisites
You need to install a few things before you can build the bot from source.
- Installing the required dependencies from apt
sudo apt-get install -y wget libssl-dev cmake g++ make libmariadb-dev
- Installing the DPP dependency
wget -O dpp.deb https://dl.dpp.dev/ && apt install ./dpp.deb -y && rm dpp.deb
- Installing the mariadb dependency
Please follow the instructions on the mariadb-connector-cpp website to install the dependency.
Building
-
Clone the repository
git clone https://github.com/SheeepstarStudio/Bot.git cd Bot
-
Build the bot
mkdir build cd build cmake .. make
Description
Languages
C++
92.7%
Dockerfile
5.3%
CMake
2%