Skip to content

Channel: Discord Adapter #9

Description

@ggondim

Summary

Implement the Discord channel adapter using Vercel Chat SDK. Discord validates another thread model (Discord threads / forum channels) and message components.

Tasks

  • Register Discord bot (token, gateway intents)
  • Inbound: message create, slash commands, mentions
  • Outbound: text, embeds, message components (buttons, select menus)
  • Thread support: Discord threads / forum channels (1:1 mapping)
  • A2H inline (method 1): Discord buttons and select menus as message components
  • Response capture (method 2): component interactions, thread replies
  • Report capabilities: { threads: true, buttons: true, selectMenus: true, replyMessages: false, dms: true, fileUpload: true }
  • Integration tests with Discord test server (manual/CI-optional)

Acceptance Criteria

  • Adapter implements full ChannelAdapter interface
  • Inbound messages from Discord are correctly parsed
  • Discord threads map 1:1 with OpenThreads threads
  • A2H intents render correctly with Discord components
  • Passes shared adapter conformance test suite

Dependencies

References

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions