S
Claude CodeDiscord assistant that remembers each member
Discord community bot with Claude and long-term memory
setuproll@setuproll92.0Overall score
A slash-command Discord bot backed by Claude Sonnet 4.6 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
2.1kVotes
5Components
Install this build
terminal
npx create-discord-bot stackroll-claude-memoryComponents
Model
- Claude Sonnet 4.6
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 4.6 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 4.6 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 2.1k votes
0 Reviews
Your rating
Sign in to post
Loading discussion...