Discord
Connect Discord to schedule messages to your server channels through a bot integration or webhooks.
How It Works
PostRite supports two ways to connect to Discord, each suited to different uses:
- Bot Integration (OAuth): Authorize the PostRite bot on your server. You can then choose any text channel per post and add as many servers as you need, each one as its own connection.
- Webhook: Paste a webhook URL to post to one specific channel. It is quick to set up, needs no bot permissions, and works best for a single channel.
Which method should I use?
Use Bot Integration if you want to post to multiple channels or manage several servers. Use Webhook if you only need to post to one channel with minimal setup.
Option 1: Bot Integration (OAuth)
The bot integration is the more flexible option: you can select any text channel per post and connect several servers, one connection each.
Adding the Bot to Your Server
- Go to the Connected accounts page in PostRite
- Click Connect on the Discord card
- Switch to the Bot tab
- Click Add Bot to Server. Discord opens so you can select a server and grant permissions (Send Messages, Embed Links, Attach Files, Use External Emojis)
- Once the bot is added, click Authorize Account to link your Discord identity via OAuth
- Select which server to connect from the list of servers where the bot is installed
Channel Selection per Post
With the bot integration, you choose the target channel when creating each post, so you don't need a separate connection per channel. Channels the bot cannot see are not listed, and channels it can see but cannot post in are greyed out with the missing permission named. For a private channel, add the bot to it, or give the bot's role View Channel on that channel in Discord. To unlock a greyed-out one, give the bot View Channel and Send Messages there.
Option 2: Webhook
A webhook is the simplest way to post to a single Discord channel. Each webhook targets one specific channel.
Creating a Webhook
- Open Discord and go to your server
- Right-click the channel where you want to post
- Select Edit Channel
- Go to Integrations → Webhooks
- Click Create Webhook
- Give it a name (e.g., "PostRite")
- Copy the webhook URL
Connecting the Webhook
- Go to the Connected accounts page in PostRite
- Click Connect on the Discord card
- Stay on the Webhook tab
- Paste the webhook URL you copied
- Give the connection a name (e.g., "Announcements Channel"). Left blank, it takes the webhook's name from Discord
- Click Connect Webhook to save
Multiple Channels
You can create multiple webhook connections for different channels in your server.
Supported Features
- Text messages up to 2,000 characters
- Markdown formatting
- Embeds with rich content
- Up to 10 attachments per message, images and video together: each image up to 10 MB (PostRite's upload limit), one video of up to 20 MB, and at most 25 MB of media per message in total
- Custom username and avatar per message
- Scheduled posting
Message Formatting
Discord supports markdown formatting:
| Format | Syntax |
|---|---|
| Bold | **text** |
| Italic | *text* |
| Strikethrough | ~~text~~ |
| Code | `code` |
| Code block | ```code``` |
| Quote | > text |
Webhook Identity
Posts sent through a webhook connection can override the webhook's display username and avatar per post. Set both in the Discord options of the post editor. Bot posts always use the bot's own identity.
Embeds
PostRite supports Discord embeds for richer content. They are currently available when you create posts through the API or the MCP integration; the visual editor sends text and media attachments:
- Title and description
- Custom color
- Thumbnail image
- Fields with inline option
- Footer text
- Timestamp
Best Practices
- Bot for multi-channel: Use the bot integration when you need to post across many channels or servers
- Webhooks for simplicity: Use webhooks when posting to a fixed channel with minimal setup
- Custom names: Use descriptive connection names so you can tell where content comes from
- Use embeds: Embeds stand out more than plain text
- Consistent timing: Post at regular times for community engagement
Troubleshooting
When a message fails, PostRite shows the specific reason on the failed post (e.g. webhook no longer exists, missing permissions, or rate limited) instead of a generic error.
Message fails to send (Webhook)
- The webhook may have been deleted. PostRite reports this as destination no longer exists. Create a new webhook and update the connection
- Message exceeds 2,000 characters
- Embed exceeds Discord limits
- Rate limited. PostRite retries automatically
Message fails to send (Bot)
- The bot may have been removed from the server. Add it again
- The bot cannot see the selected channel or cannot post in it. The failed post gives the channel's ID and the missing permission. The channel picker only offers channels the bot can see, so this only happens if permissions changed after the post was scheduled
- Channel was deleted or made private without bot access
- Token expired: reconnect your Discord account
Webhook Security
Keep your webhook URLs private. Anyone with the URL can post messages to your channel. If compromised, delete the webhook and create a new one.
Can't see my server in the list (Bot)
Only servers where you have Administrator or Manage Server permission and where the PostRite bot is already installed appear in the list. Make sure you added the bot first with the "Add Bot to Server" button.
Wrong username/avatar showing
You can change the webhook's default name and avatar in Discord. PostRite can also override them per message in the post settings.