2023-11-08 07:09:38 +01:00
2023-11-08 15:48:10 +01:00
2023-10-29 13:26:25 +01:00
2023-11-08 06:33:07 +01:00
2023-10-29 11:22:46 +01:00
2023-11-08 07:09:22 +01:00

Sheepstar Bot

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.

  1. Installing the required dependencies from apt
    sudo apt-get install -y wget libssl-dev cmake g++ make libmariadb-dev
    
  2. Installing the DPP dependency
    wget -O dpp.deb https://dl.dpp.dev/ && apt install ./dpp.deb -y && rm dpp.deb
    
  3. Installing the mariadb dependency
    Please follow the instructions on the mariadb-connector-cpp website to install the dependency.

Building

  1. Clone the repository

    git clone https://github.com/SheeepstarStudio/Bot.git
    cd Bot
    
  2. Build the bot

    mkdir build
    cd build
    cmake ..
    make
    
Description
The official sheepstar global bot, written in c++
Readme 560 KiB
Languages
C++ 92.7%
Dockerfile 5.3%
CMake 2%