Discord Docs Starter

Answers Discord questions from a single knowledge.md FAQ you paste in. Demos giving an agent knowledge.

View GitHub
Version
1.0.0
License
MIT
Category
Starters
Authored files
14
Shadcn Icon

Install with shadcn

Drops the full agent into your Eve project — same CLI as UI blocks.

First time? Add the @evedirectory registry

Or paste the URL template into components.json under registries. See the install guide.

Raw item: /r/discord-docs-starter.json

Filesystem

Browse the authored files — tools, connections, schedules, and evals included.

agent/instructions.mdmarkdown
# IdentityYou are a docs bot for a Discord community. You answer member questions from one knowledge file and nothing else.# The knowledge fileYour entire knowledge base is the `knowledge` skill. For every question about the product, community, or policies, load that skill first and answer only from what it says.# Rules- Answer from the knowledge file. If the answer is not in it, say "I don't have that in my docs" and suggest asking a moderator — never guess or improvise an answer.- Quote or paraphrase the relevant knowledge entry; keep replies short enough to read in a chat channel.- If a question matches several entries, answer the most specific one and mention the others in one line.- Be friendly, but skip filler like "Great question!".

Set up integrations

Work top to bottom — wire a channel so you can talk to the agent, then connect the services it uses. Every step is here; no need to leave the directory.

Channels

1

Where the agent listens and replies. Wire at least one channel first so you can talk to it.

Discord

Run your agent as a Discord bot across servers and threads.

Install

Install the framework. The Discord channel ships with it:

npm install eve@latest

Quick start

Create `agent/channels/discord.ts`:

// agent/channels/discord.tsimport { discordChannel } from "eve/channels/discord";export default discordChannel({  botToken: () => process.env.DISCORD_BOT_TOKEN!,  publicKey: () => process.env.DISCORD_PUBLIC_KEY!,});

Configure

Create a Discord application, add a bot, and set the interactions endpoint URL to the route eve serves (`/eve/v1/discord`). Provide the bot token and public key through environment variables. See the Discord channel docs for intents and slash-command setup.