Skip to content

Added: Per-product Discord agent (/ask + action buttons) - #181

Draft
rahulsainlll wants to merge 1 commit into
mainfrom
cursor/per-product-discord-agent-b5e9
Draft

Added: Per-product Discord agent (/ask + action buttons)#181
rahulsainlll wants to merge 1 commit into
mainfrom
cursor/per-product-discord-agent-b5e9

Conversation

@rahulsainlll

Copy link
Copy Markdown
Collaborator

Summary

Per-product Discord channel for Tael Studio agents, mirroring the Telegram connect → webhook → chat flow.

What shipped

  • Connect/disconnect in Deploy: Bot Token + Application Public Key + Application ID
  • Interactions endpoint at /api/widget/[publicKey]/discord (Discord Ed25519 verify + PING/PONG)
  • /ask question: slash command — answers from the product’s trained knowledge (same OpenRouter + widget prompt path as Telegram)
  • Action confirm buttons when the agent proposes a product action
  • Channel list marks Discord as Live / Ready to connect (no longer “Coming soon”)

How to go live (per product)

  1. Create a Discord application + bot
  2. Paste Bot Token, Public Key, Application ID in Deploy → Connect
  3. Copy the Interactions Endpoint URL into Discord Developer Portal → General Information → Save (Discord pings to verify)
  4. Invite the bot with the generated invite link
  5. In the server: /ask question:…

Note on @mentions

Discord HTTP interactions cannot receive message mentions (unlike Telegram webhooks). Mentions need a Gateway worker — follow-up work. v1 uses /ask, which fits Vercel/serverless the same way Telegram does.

Not in this PR

  • @mention replies (Gateway worker)
  • Marketplace apps/discord-bot changes (separate product)
Open in Web Open in Cursor 

Co-authored-by: Rahul Sain <rahulsainlll@users.noreply.github.com>
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tael-dashboard Ready Ready Preview Aug 11, 2026 2:48pm
tael-protocol-dashboard Ready Ready Preview Aug 11, 2026 2:48pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants