Discord · from Codex

Post to a Discord server from Codex.

Codex turns the commits into a post for your community; our bot sends it to the channel exactly as written.

A Discord server is where many projects’ users wait to hear that a release is out, and Codex has the release in front of it: the commits, the changelog, the diff. With 1Social connected it can write the post and send it in the same turn, through our bot, to a text channel, an announcement channel or a forum. A message holds up to 2,000 characters, and a longer write-up goes out as parts — the first in the channel, the rest gathered in one thread underneath.

The server is connected once, in a browser, from 1Social: Discord shows its own screen for adding the bot, you pick the server, then the channels it may post in. Codex never handles a webhook URL or a bot token, so there is nothing in config.toml or the environment for a command to print. A text-only post needs no shell at all; screenshots need the upload step, which runs a command that reaches the network, so Codex asks about it under its default sandbox.

Asking Codex for a Discord post

The Discord ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

Codex18:25

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› deploy’s green — post the release notes to #announcements on discord and thank the contributors by github handle

reads git log · text only

1S

GitHub handles do not ping on Discord, so they go in as plain names:

Discord caption2,000fits
Image or videooptional here
Reply chainsup to 25 parts
Attachments allowed10per post

Posted to #announcements. The link to the message is above.

› _

What Discord allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
2,000 characters
Post with no image or video
Fine
Reply chains
Yes — up to 25 parts
Images or video per post
10
Image formats
Anything we accept for upload

Codex, on the other networks

Discord, from the other agents

Publishing to Discord from Codex

Words go without a command

A release post with no attachment is one tool call, so it goes out from Codex even when the sandbox keeps shell commands off the network.

Run after the deploy job

Run codex exec once the deploy job finishes and it can turn the new commits into a Discord post, provided publishing is already approved for that run in config.toml.

Only the pings you mean

Discord notifies on @everyone, @here and real role or user mentions. A post that would ping the whole server shows up in the check’s notes before it is sent.

Notes in a thread

When the changelog runs past one message, Codex sends it as parts: the summary in the channel, everything else in a single thread below that message.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Codex to publish to Discord, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

A GitHub handle is not a Discord mention

Release notes are full of names with an @ in front — the contributors from the commit log, the reviewers on each pull request. On Discord those are just text: a mention that notifies someone is written with that member’s or role’s Discord ID, and a GitHub handle has none, so thanking @someone in a post from Codex pings nobody. The two words that do work as written are @everyone and @here, which notify the whole server; 1Social sends the text exactly as Codex wrote it, and the check marks either one before publishing. If a role should hear about the release, have Codex use that role’s mention in Discord’s own form.

A limitation of Discord from Codex itself — it stays true whoever publishes for us. From documentation, checked 2026-11-25.

When this is the wrong tool

If you want the server to answer back — contributors’ replies, questions under the release — that stays in Discord: the bot posts but does not read messages, and no reaction counts come back. Direct messages, voice channels and editing a message after it is sent are not part of this.

Questions people actually ask

Can a codex exec step post to a Discord channel after a deploy?

Yes. Sign Codex in to 1Social once interactively, settle the approval for publishing in config.toml, and the step can write the post from the commits and send it through our bot. The run’s output carries the link to the message.

Will thanking contributors by GitHub handle ping them on Discord?

No. Discord only notifies for mentions written with a member’s or role’s ID, plus @everyone and @here. A GitHub handle in the text stays plain text, so it reads as a name and notifies no one.

Does Codex need network access to post a screenshot to Discord?

For the upload, yes. The image goes to our upload link through a shell command, and Codex’s default sandbox keeps commands off the network, so it asks first. The post itself is a tool call and needs nothing extra.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.