Repository navigation
v0.2.0: a fresh start every day, without forgetting
🌅 A fresh start every day
A bot that never stops talking drags its whole history into every reply: answers get distracted by last week's jokes, and each message costs more than the one before. evocord now gives its bot a fresh start once a day, without losing what matters:
- Keep what matters. When the server goes quiet (by default after 4 am, after 30 minutes without messages; an active conversation postpones it), the bot saves what will still matter in a week, such as nicknames, preferences, server conventions, promises it made and bills nobody has split yet. It skips small talk, games, weather, prices and one-off questions, and tidies out memory entries that are done.
- Write a handoff note for its successor: what happened, where each conversation stopped, who is waiting for an answer.
- Start fresh. The new session opens with that note and reads memory before anything else.
Admins can trigger it any time with !bot rotate. Configure it under rotate in config/bot.json, or turn it off with rotate.enabled: false.
🗂️ Searchable chat history
Details that never made it into memory aren't gone. When someone brings up "that pizza place from yesterday", pastes a message link or asks what someone said last week, the bot searches the channel's Discord history by keyword, person, date or attachment type. It then reads the surrounding conversation and answers from the original messages. Lookups stay inside the chats the bot is configured to serve.
🧠 Tighter memory
Memory now keeps only what will still matter in a week. It notes where each detail came from, so the original message can be pulled up again instead of copied into notes.
Upgrading
git pull && bun install
./scripts/stop.sh && ./scripts/start.sh
The daily handoff is on by default. If you edited CLAUDE.md, merge the new "Chat history", "Memory" and "Daily handoff" sections into your copy.
Full list: CHANGELOG