Connections
Discord
A /support command for your Discord server. Requests become Slack conversations and your replies arrive as direct messages from your bot.
On this page
Members of your Discord server run /support; each request becomes a Slack conversation, and your thread replies are sent as direct messages from your bot.
Discord only delivers ordinary messages over a live Gateway connection, so Channlize uses Discord's Interactions Endpoint instead: customers use the /support command (or its form), and replies go back as DMs.
Setup
About five minutes in the Discord Developer Portal. Members run /support; you answer from Slack and the bot replies by DM. In Channlize, Connections → New connection → Discord. The setup screen shows the connection URL (the Interactions Endpoint URL) above these steps, with the secret fields and buttons at the step that needs them.
- Create an application: Applications → New Application (Open the Developer Portal). Name it (e.g. Acme Support), accept the terms and click Create.
- Paste the Application ID into Channlize: General Information → Application ID (Open General Information).
- Paste the Public Key into Channlize: General Information → Public Key (64 hexadecimal characters). Every interaction is verified with it.
- Set the Interactions Endpoint URL: General Information → Interactions Endpoint URL. Paste the URL and click Save Changes. Discord checks it right away, so save the Public Key first.
- Paste the bot token into Channlize: Bot → Token → Reset Token (Open the Bot page). It is used to register
/supportand to send your replies as direct messages. - Register /support: adds
/supportto your application, with an optionalmessage. Without one it opens a "Contact support" form. - Add the bot to your server: OAuth2 → OAuth2 URL Generator. Open the invite the setup screen shows (scopes
botandapplications.commands, no permissions needed) and pick your server.
Optional, answer from Slack: turn on Reply on Discord under Settings so replies from Slack or the dashboard are sent by DM. Discord also sends deliberately bad signatures to check the endpoint; those show as rejected on purpose.
First event: the screen shows Waiting for the first event… until one arrives. Run /support in your server. Then click Done to keep the connection. Cancel deletes the draft and its URL, and removes the /support command Channlize registered at Discord.
Signature
Every interaction is verified with Ed25519 against your application's Public Key, over X-Signature-Timestamp plus the body, and timestamps more than 5 minutes off are rejected. Discord also sends deliberately bad signatures to test the endpoint; those are rejected on purpose.
Default mappings
| Event | Action |
|---|---|
support.command, support.form | Conversation |
support.form_opened, support.button, ping | Log |
interaction.from_bot | Ignore |
The member gets an ephemeral confirmation: "Thanks, we got your message. We'll answer you here in a direct message from this bot."
Two-way replies
Turn on replies. Thread replies are sent as a direct message from your bot, up to 2,000 characters.