Hii
This is a role play bot for Discord.
Built with Spring Boot + Ollama. Runs AI locally.
- AI-powered replies using Ollama
- Responds when you @mention the bot
- Role play style conversations
- Mood detection system
- Stores chat history in database
Moods: HAPPY, SAD, ANGRY, TIRED, CALM, ANXIOUS
Commands:
/mood → checks the mentioned user's mood /make-happy → gives tips to make the client user feel better
You can run it without Docker,
but trust me, it’s a headache.
Just use Docker.
- Download the latest release bundle automatically
curl -s https://api.github.com/repos/range79/roleplaybot/releases/latest \
| grep browser_download_url \
| grep bundle \
| cut -d '"' -f 4 \
| xargs curl -L -o bundle.zip- create folder , copy files to folder and change directory
mkdir roleplay-bundle
unzip bundle.zip -d roleplay-bundle
cd roleplay-bundle- Create
.envfile like env.example
Go to models folder:
cd ollama/modelsCopy example:
cp Modelfile.example ModelfileEdit file:
nano ModelfileExample:
FROM llama3.2:3b
SYSTEM """
You are a friendly roleplay character.
You talk in a fun and emotional way.
You care about the user.
"""docker compose up -dBot is online.