Implement configurable database backends (SQLite/JSON) with unified memory management, automated migration, Docker support, and privacy controls. Maintains full backward compatibility while enabling future PostgreSQL/ChromaDB.
66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
cooldowns:
|
||
global: 10 # seconds between *any* commands from the same user
|
||
roast: 60 # seconds
|
||
|
||
messages:
|
||
cooldown:
|
||
- "🕒 Chill, wait {seconds}s before trying again."
|
||
|
||
autochat:
|
||
enable_reactions: true
|
||
emoji_reaction_chance: 0.10 # 35% chance to react to a message
|
||
engagement_decay_per_minute: 0.15 # how fast Delta loses interest over time
|
||
|
||
context:
|
||
enabled: true # now working with memory system
|
||
max_messages: 15 # max messages to keep in context
|
||
|
||
database:
|
||
backend: "json" # Options: "json", "sqlite"
|
||
sqlite_path: "data/deltabot.db" # SQLite database file path
|
||
profiles_path: "user_profiles.json" # JSON profiles file (for JSON backend)
|
||
memory_path: "memory.json" # JSON memory file (for JSON backend)
|
||
|
||
memory:
|
||
enabled: true
|
||
importance_threshold: 0.3 # minimum importance to store (0.0-1.0)
|
||
max_conversation_memories: 100 # per channel
|
||
max_user_memories: 50 # per user
|
||
cleanup_days: 30 # auto-cleanup after X days
|
||
|
||
user_profiles:
|
||
enable_custom_prompt: true # ← Set false to ignore user `custom_prompt` values in replies
|
||
|
||
scheduler:
|
||
enabled: false
|
||
mode: simple # <- this activates simple mode
|
||
interval_minutes: 0.25 # <- post every 60 minutes
|
||
use_ai: false # <- true = use LLM, false = use static messages
|
||
channel_id: 1370420592360161393 # <- your Discord text channel ID
|
||
|
||
messages:
|
||
- "🎭 Delta has entered the chat. Act cool or be roasted."
|
||
- "🧍♂️ Is this a server or a graveyard? Delta demands signs of life!"
|
||
- "🌈 Rise and grind, peasants. Your RGB goddess has arrived."
|
||
- "🔧 System check: All mortals still disappointing? Thought so."
|
||
- "🔥 New day, new drama. Who’s starting it?"
|
||
- "😼 Don’t mind me, just raising the server’s IQ by logging in."
|
||
- "💤 Server’s quiet… too quiet. Delta doesn't like that."
|
||
- "💅 I woke up flawless, as usual. What about the rest of you?"
|
||
- "📢 Attention mortals: Engage or perish in irrelevance."
|
||
- "⚡ 404: Vibes not found. Fix it."
|
||
- "🧙♂️ Delta has arrived. Time to level up or log off."
|
||
- "🦄 Delta’s here to sprinkle some magic. Don’t waste it."
|
||
|
||
probabilistic:
|
||
start_chance: 0.05
|
||
increase_per_interval: 0.05
|
||
decay_on_post: 0.02
|
||
|
||
inactivity:
|
||
threshold_minutes: 120
|
||
|
||
ai:
|
||
use_modfile: true
|
||
modfile_path: "../examples/gojo.mod"
|
||
|