S
Claude CodeDiscord assistant that remembers each member
Discord community bot with Claude and long-term memory
Setuproll editorial@setuproll92.0Overall score
A slash-command Discord bot backed by Claude Sonnet 5 that keeps per-user memory in a vector store so it recalls past threads instead of starting cold every message. Built for community mods who want a helpful, context-aware bot without paying Opus prices on every reply.
92.0Score
5Components
Get this build
terminal
npx create-discord-bot stackroll-claude-memoryWhat gets written
- CLAUDE.md
Components
Model
- Claude Sonnet 5
Stack
- discord.js
- Node 20
- Postgres + pgvector
Tools
- Anthropic SDK
- Discord slash commands
- Redis rate limit
Memory
- pgvector recall
- per-user summary
- rolling 20-message window
How it works
- Member triggers a slash command or @mentions the bot
- Recent messages plus top vector matches load as context
- Claude Sonnet 5 answers, reply streamed back to the channel
- Conversation is embedded and stored so future replies stay aware
Summary
A slash-command Discord bot backed by Claude Sonnet 5 that keeps per-user memory in a vector store so it recalls past threads instead of starting cold every message. Built for community mods who want a helpful, context-aware bot without paying Opus prices on every reply.
92.0 score
0 Reviews
Your rating
Sign in to post
Loading discussion...