Discord
Lobu’s Discord adapter supports direct messages, server channels, and interactive workflows. Under the hood, Lobu uses the Chat SDK Discord adapter to handle DMs and server messaging.
C
Coding
online
List open PRs in lobu-ai/lobu12:01
Can't reach github.com — not in the agent's allowed domains.
Grant access?12:01
Allow for 1 hour12:01
Added github.com to allowed domains.
3 open PRs in lobu-ai/lobu:
• #214 Fix worker memory leak
• #219 Telegram adapter retries
• #223 Add Bedrock provider12:01
O
Ops Assistant
online
Summarize my active Linear sprint12:01
I need the `linear` skill to query Linear.
It bundles the Linear MCP and handles OAuth via Lobu.12:01
Go ahead12:01
Installed and connected.
Sprint "Week 15" (68% done):
• 11 merged, 3 in review, 2 todo
• Blocked: AUTH-234 (design)
• At risk: API-89 (due tomorrow)12:01
A
Assistant
online
Switch to Claude Sonnet12:01
You can change the model from your settings — opens a scoped page with your current agent config.12:01
Done — set to claude-sonnet-4-612:01
Now running on claude-sonnet-4-6 via OpenRouter.
Next messages will use the new model.12:01
- Create a Discord application at the Discord Developer Portal.
- Under Bot, create a bot and copy the bot token.
- Copy the Application ID and Public Key from the General Information page.
- Under OAuth2 → URL Generator, select the
botscope withSend Messages,Read Message History, andUse Slash Commandspermissions. Use the generated URL to invite the bot to your server. - Run
lobu connections add discordto add the connection (prompts for the bot token), or runlobu initto scaffold a new project and pick Discord in the wizard.
Configuration
Section titled “Configuration”| Field | Required | Type | Description |
|---|---|---|---|
botToken | No | string | Discord bot token. |
applicationId | No | string | Discord application ID. |
publicKey | No | string | Application public key for webhook signature verification. |
mentionRoleIds | No | string[] | Role IDs that trigger mention handlers (in addition to direct mentions). |
userName | No | string | Override bot username. |
Connection Settings
These settings apply to all platform connections and are passed in the settings object.
| Field | Required | Type | Description |
|---|---|---|---|
allowFrom | No | string[] | User IDs allowed to interact with this connection. Omit to allow all; empty array blocks all. |
allowGroups | No | boolean | Whether group messages are allowed (default true). |
userConfigScopes | No | string[] | Scopes that end users are allowed to customize. Empty = no restrictions. |
Features
Section titled “Features”- Direct messages and server channel mentions trigger the agent.
- Role-based triggers — configure specific roles that activate the agent beyond direct mentions.
- Streaming responses with throttled message edits (updates every 2s).
- Markdown formatting — agent responses render as Discord-flavored markdown.
- Interactive elements — buttons and cards for user prompts, permission grants, and configuration.
- Access control — restrict which users or groups can interact with the agent.
Typical Use Cases
Section titled “Typical Use Cases”- Team assistant in a Discord server (engineering, support, knowledge base).
- Community bot that answers questions using your agent’s skills and tools.
- Developer tool that runs commands or queries APIs on behalf of server members.