Skip to content

range79/roleplaybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Role Play Bot

Hii

This is a role play bot for Discord.
Built with Spring Boot + Ollama. Runs AI locally.

Features

  • AI-powered replies using Ollama
  • Responds when you @mention the bot
  • Role play style conversations
  • Mood detection system
  • Stores chat history in database

Mood System

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


Important

You can run it without Docker,
but trust me, it’s a headache.

Just use Docker.


how to downland and use?

  • 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 .env file like env.example

Create AI Character (Modelfile)

Go to models folder:

cd ollama/models

Copy example:

cp Modelfile.example Modelfile

Edit file:

nano Modelfile

Example:

FROM llama3.2:3b

SYSTEM """
You are a friendly roleplay character.
You talk in a fun and emotional way.
You care about the user.
"""

Run

docker compose up -d

Bot is online.

About

a roleplay bot but its secretly checks cleint mental healt

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors