GitHub Copilot + Discord
Post to Discord from GitHub Copilot
Ask GitHub Copilot to write and schedule your Discord messages. BrokenPost connects the two, follows Discord's rules and posts at the time you pick.
How to connect GitHub Copilot to Discord
- 1
Connect Discord in BrokenPost. Add the BrokenPost bot to your Discord server, then pick a channel for each post.
- 2
In BrokenPost, open Plugins and copy your MCP URL.
- 3
Add the config below to .vscode/mcp.json in your project root.
- 4
Start the server in VS Code and sign in to BrokenPost.
- 5
Ask Copilot in agent mode to schedule a post.
{
"servers": {
"brokenpost": { "type": "http", "url": "<MCP_URL>" }
}
}What to ask GitHub Copilot
Type these in Copilot agent mode in VS Code. Change the details to fit your messages.
- “Post these patch notes in #announcements on our Discord at 6pm.”
- “Remind #general about game night every Friday at 7pm.”
- “Share this screenshot in #showcase tomorrow morning.”
- “Read the commits since the last tag and turn them into a short Discord message. Schedule it for 10am tomorrow.”
- “What Discord messages do I have scheduled for next week?”
What happens next
- 1
You ask in Copilot agent mode in VS Code, in plain words.
- 2
GitHub Copilot lists the channels you connected in BrokenPost and picks your Discord account.
- 3
It reads Discord's rules and settings from BrokenPost, so the message fits Discord's limits before it is written.
- 4
If you shared a picture, a video or a link to one, it uploads it to your media library.
- 5
It creates the message as scheduled, as a draft, or to go out now, and gives you a preview link.
- 6
At the set time BrokenPost publishes it to Discord and it shows on your calendar.
Discord limits GitHub Copilot follows
GitHub Copilot reads these rules from BrokenPost before it writes, so the message fits the first time.
| Characters | 1,980 characters (a little under Discord's 2,000, to leave room for formatting) |
|---|---|
| Media | Pictures, videos and files as attachments |
| Formatting | Markdown |
| Channel | Pick one per post |
| Replies | Yes |
Discord settings you can ask for
Say them in plain words, like "channel", and GitHub Copilot sets them on the message.
- Channel
If Discord rejects a message
GitHub Copilot sees the same message and can fix the message for you.
| What you see | How to fix it |
|---|---|
| Bot lacks permission to send messages in this channel | Give the BrokenPost bot the Send Messages permission in that channel. |
| Channel no longer exists | Pick another channel in the Discord settings of the post. |
| Rate limited by Discord | Discord slowed the bot down. The post retries, or retry it from the calendar. |
Good to know
- Each message can have up to 1,980 characters.
- Pick the channel in the Discord settings of the post.
- GitHub Copilot only posts when you ask. Ask for a draft to check the message in BrokenPost first.
Questions people ask
Can GitHub Copilot post to Discord directly?
Yes, through BrokenPost. Connect Discord in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish Discord messages.
Does GitHub Copilot know the Discord limits?
Yes. GitHub Copilot reads Discord's rules from BrokenPost before it writes: 1,980 characters (a little under discord's 2,000, to leave room for formatting) and pictures, videos and files as attachments. BrokenPost checks again before it posts.
Can GitHub Copilot schedule Discord messages for later?
Yes. Give a day and time, like "Friday at 6pm", and the message goes out then. Ask for a draft if you want to check it first.
Is it free?
GitHub Copilot with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.
Which Discord settings can GitHub Copilot set?
Channel.
Can GitHub Copilot post a Discord thread or comments?
Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.
Can I post to different Discord channels?
Yes. Each post has its own channel setting, so one post goes to #announcements and another to #general.
More apps with GitHub Copilot
Post to Discord with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.