Discord
TryPost publishes to Discord servers through a shared TryPost bot that you add to your server. Each connected channel in TryPost is a server (guild) — you pick which Discord channel to post in on each post.Connect a server
- In the sidebar, open Channels and click Connect channel (or use New > Connect a new channel)
- Choose Discord and click Connect Discord
- On Discord, choose the server to add the TryPost bot to and authorize it
- On the confirmation page, check the server and click Finish connection
You need the Manage Server permission on a Discord server to add a bot to it. The authorization adds the bot with the permissions it needs to post: View Channel, Send Messages, Embed Links, Attach Files, Read Message History, and Mention Everyone.
Choosing a Discord channel
A Discord connection is the whole server, so every Discord post must target a channel. In the post editor’s Discord settings, pick the channel from the searchable list. A post without a channel cannot be scheduled or published (platforms[].meta.channel_id on the API; list channels with List Discord channels, GET /social-accounts/{account}/channels).
Only channels the bot can actually post in are shown — text and announcement channels where the bot has View Channel + Send Messages. Forum, voice, stage, and category channels are excluded (they don’t accept a direct message), as are channels the bot has no access to.
If a channel is missing from the list, give the TryPost bot access to it in Discord (channel or role permissions), or move it under a category the bot can see. The list is cached for a few minutes after a change.
Supported content types
Media limits
Official specs: Uploading Files (20 MiB bot default). Full catalog: Media.
Images are optimized to Discord’s limits; videos and GIFs are sent as-is.
Text and per-post options
- 2,000 characters of message text.
- Mentions — add mentions (e.g.
@everyone, a role, or a member) in the Discord settings. Mentions only ping on Discord — they’re stored separately from the shared post text, so they never leak as literal<@id>markup to your other networks. Only the mentions you explicitly add will ping; a literal “@everyone” typed into the shared caption does not. - Embeds — attach up to 10 rich embeds (title up to 256 characters, description up to 4,096, URL, image, and accent color). They render as Discord’s native embed cards.
- Alt text — up to 1,024 characters per image.
Insights
Discord is not included in Insights: Discord exposes no impressions or reach for bot messages, and TryPost does not show Discord metrics.Self-hosting setup
Configure the Discord bot
Configure the Discord bot
Discord uses a single shared bot application. Create one in the Discord Developer Portal (New Application → Bot), copy its Bot Token, and grab the Client ID / Client Secret from the OAuth2 settings. Then configure:In the Developer Portal, add the redirect URL above to your application’s OAuth2 → Redirects.Use the OAuth2 Client Secret for Hide Discord with
DISCORD_CLIENT_SECRET — not the application’s Public Key. They’re different values, and the Public Key causes an invalid_client error on connect.The bot is invited with a fixed permission bitfield (248832 = View Channel + Send Messages + Embed Links + Attach Files + Read Message History + Mention Everyone) and the bot identify guilds scopes. Both are configurable if you need to change them:DISCORD_ENABLED=false. See Configuration for the full platform credentials reference.
