platform discord. PostSyncer’s bot posts in it. Each post goes to one channel: settings.channel_id, or the channel saved in the account’s Post defaults.
Connect a server
Make a connect link withprovider discord, or open Accounts in the app. The person who connects picks the server in Discord and adds PostSyncer’s bot with the permissions it asks for. They need the right to manage that server.
The bot asks only for what PostSyncer uses: to see channels and read their history (to find a message whose answer was lost), send messages, embed links, attach files, mention everyone (for allow_mentions everyone), change its nickname, start threads and post in them, manage threads (to delete a thread it started, and to add a forum’s moderated tags), and create polls. It doesn’t ask to manage messages: it deletes and publishes only its own. Signing in reads only the person’s Discord name and id, not their email or their list of servers.
- One server is one account, whatever the number of channels.
- The bot’s token doesn’t expire, so a server never needs reconnecting on a timer.
- If Discord refuses PostSyncer’s bot for a moment, nothing is sent: the post is tried again after 6, 15 and 30 minutes, and a thread goes on from where it stopped. If Discord still refuses it after those tries, the post fails and says so. Comments, first comments and deletes wait, and are tried again for up to 2 hours.
- Disconnecting the account removes the bot from the server, unless PostSyncer still uses it there (another workspace’s account of the same server, or team alerts). This is best effort: if Discord doesn’t answer, remove the bot in Discord.
Pick a channel
List Discord channels (or the MCP toollist-discord-channels) gives each channel’s id, type and category, in Discord’s own order.
- A post goes to a
text,announcement,forumormediachannel the bot can see and send messages in. - A forum or media channel lists its
available_tags, andrequires_tagsays when every post needs one. - A
channel_idfrom another server is refused with422.
What you can post
- A text message.
- Text with up to 10 photos, videos and PDFs.
- A poll, with no files, in a text or announcement channel.
- An embed card.
- A forum or media channel topic, with a title and tags.
- A thread: the message, then replies in its thread.
Settings
Every key butchannel_id is optional. Create a post has the full list.
Forums and tags
- A forum or media channel post is a new topic: its title goes in
thread_name, and up to 5 tags inapplied_tags. - To be scheduled or published, the topic needs its title, and a tag when the forum requires one. A draft can wait. Without the title, the API answers
422onaccounts.N.settings.thread_name:A Discord forum post needs a title. - A tag that isn’t the forum’s, or more than 5, is refused with
422, drafts included. - Tags only moderators can add (
moderated: true) work too: the bot asks for the Manage Threads permission they need. If the bot’s role in the server doesn’t have it, Discord refuses the post. - A forum or media channel takes no poll.
- A media channel topic needs a photo or a video. PostSyncer doesn’t check this when the post is saved: Discord refuses a topic without one when it’s published, and the post fails.
Mentions
allow_mentions decides who the post’s message may ping, and is none unless you set it. The thread’s other items, the first comment and every comment sent from PostSyncer never ping anyone: not @everyone, @here or a role.
Text
- A message takes 2,000 characters. A longer one is refused with
422when the post is scheduled or published (a draft isn’t checked), never cut, and one that still reaches the publish fails with a note giving its length. Give Discord its own shorter text insettings.text. - Discord’s own formatting works:
**bold**,*italic*,> quotes, code blocks and links.
Media
- Photos, videos and PDFs can go in the same message.
- A file over 20 MB, or files over 24.5 MB together, are refused with
422, saying which. - A file’s alt text, set in the app’s media library, goes with it.
- TXT and CSV files can’t be added to the media library. Share them as a link.
Polls
- A poll takes a question, 2 to 10 answers, and stays open from 1 hour to 32 days (
duration_hours1 to 768; 24 when you leave it out).multiplelets people pick more than one. - A poll goes in a text or announcement channel. One for a forum or media channel is refused with
422when the post is saved, drafts included. - Discord doesn’t take a poll and files on the same message: that’s refused with
422. - The bot needs Discord’s Create Polls permission, which it asks for when it’s added.
More than one item
Each item after the first is a message in the post’s thread: the thread the post starts (titled withthread_name, or the start of its text), or the forum topic itself. A first comment (is_first_comment: true) goes there too. With first_comment_delay 0 it goes out with the post; with a delay (1 minute when you leave it out), it’s posted that many minutes later.
If a reply fails after the message went out, the post is still published, with a note of what didn’t go out. When crosspost can’t be done, the post stays published with a setting_not_applied note.
Delete a post
Deleting the post in PostSyncer deletes it on Discord too:- A forum or media channel post is its own thread: the whole topic goes, members’ replies included.
- A text or announcement channel post takes with it the thread PostSyncer’s bot started for its replies, members’ replies in that thread included.
- A thread a member started is never deleted. PostSyncer deletes only its own messages in it.
Comments
- PostSyncer doesn’t read the post’s thread, so replies other people write don’t show in the comments screen.
- A comment sent from PostSyncer goes in the post’s thread, with photos or files, and never pings anyone. It can be deleted from PostSyncer.
- Discord can’t hide comments: hide answers
422withDiscord can't hide comments. Delete the comment instead.
Analytics
Discord giveslikes (the message’s reactions) and comments (the messages in its thread), when the post started one. It gives no impressions, so engagement_rate is null. The server’s member count is its followers. See Read analytics.
Example
A poll in a text channel:Related
List Discord channels
The channels and forum tags a post can use.
Compare the 14 networks
How Discord differs from the other networks.