A C++ Discord bot made using the D++ library.
- bruhshell (bs) dev (Ethan Christensen, etchris)
- Docker
- Docker Compose
- Ollama
- Discord Application
-
Clone the Repository:
git clone https://github.com/ethanlchristensen/Jade.git cd Jade
-
Create a
.env
File:Within the root of your project, create a
.env
file with the following content:DISCORD_BOT_TOKEN=<TOKEN> USERS_TO_ID={"<common-name>": "<@ID>"} # This will overwrite names with the actaul @'s when generating llm responses OLLAMA_ENDPOINT=localhost:11434 # OR if hosted on another machine x.x.x.x:11434
Make sure to replace
<token>
and other placeholders with your actual configuration. -
Use Docker Compose to Build and Run:
docker-compose up --build -d
This command will set up and run the bot using the Dockerfile and docker-compose.yaml provided in the project.
To check the logs:
docker logs jade