Overview
Postiz integrates with Discord to send messages to channels using a Discord bot, supporting text, images, videos, and threaded conversations.Authentication
Discord uses OAuth 2.0 with bot installation.Required Permissions
identify- Bot identityguilds- Access to server information
Bot Permissions
The bot requires these server permissions:- Send Messages
- Attach Files
- Embed Links
- Read Message History
- Create Public Threads
- Send Messages in Threads
The bot token is configured at the application level via
DISCORD_BOT_TOKEN_ID environment variable.Supported Features
Channel Types
Post to these Discord channel types:- Text Channels (type 0)
- Announcement Channels (type 5)
- Forum Channels (type 15)
Message Features
- Text Messages
- Media Attachments
- Mentions
- Maximum: 1980 characters
- Markdown formatting supported
- Discord formatting (bold, italic, code)
- Role and user mentions
Posting Messages
Main Posts
Messages are sent using Discord’s message API:Threaded Replies
Comments create threads under messages:Threads keep conversations organized and improve readability in busy channels.
Mentions System
Mention users and roles in your messages:Format
Special Mentions
@here- Notifies online users@everyone- Notifies all users@&roleId- Mentions role members@userId- Mentions specific user
Mention Search
Search for mentionable users and roles:Channel Management
List available channels:Rate Limits
Discord Rate Limits:
- 5 concurrent posting jobs
- Generous API limits for webhooks
- No strict message limits
- Bot rate limits apply
Best Practices
Channel Selection
Use announcement channels for important updates
Threading
Use threads for discussions to keep channels clean
Mentions
Use @here instead of @everyone when possible to reduce notifications
Media Size
Keep file sizes reasonable - large files may fail
Troubleshooting
Bot Not Posting
Bot Not Posting
If messages aren’t sending:
- Verify bot has Send Messages permission
- Check bot has access to the channel
- Ensure bot role is high enough in hierarchy
- Verify
DISCORD_BOT_TOKEN_IDis correct
Mentions Not Working
Mentions Not Working
Mention issues:
- Use correct format:
[[[@ID]]] - Role IDs need
&prefix:[[[@&roleId]]] - User/role must be in the server
- Bot needs permission to mention
File Upload Failed
File Upload Failed
Media upload problems:
- Check file size (Discord has limits)
- Verify file URL is accessible
- Ensure bot has Attach Files permission
- Try reducing file size
Thread Creation Failed
Thread Creation Failed
Threading issues:
- Bot needs Create Public Threads permission
- Original message must exist
- Channel must support threads
- Forum channels have different thread rules