OpenClaw + Discord
Post to Discord from OpenClaw
Through iHatePosting, OpenClaw can post messages with media into a Discord channel. Install the iHatePosting skill for OpenClaw and sign in once, then ask it for the post you want.
Setup takes about a minute. A message can hold up to 1,980 characters.
Posting to Discord from OpenClaw
Add iHatePosting to OpenClaw once, connect Discord, and then describe the post. Setup takes about a minute.
Add iHatePosting to OpenClaw once
Install the iHatePosting skill for OpenClaw and sign in once. Then connect Discord in iHatePosting if you have not already.
# Install the iHatePosting skill from ClawHub
openclaw skills install @mayankkasavala/ihateposting
# Or with the skills CLI
npx skills add iHatePostingOrg/iHatePosting-Agent
# Install the command line and sign in once
npm install -g ihateposting
ihateposting auth:login
# Check that it sees your channels
ihateposting integrations:listAsk for the Discord post
Describe the post in plain language. OpenClaw writes it, applies the settings and schedules it.
> Share the 2.4 changelog in our Discord #announcements channel at 16:00 today.
OpenClaw: Done. Scheduled on Discord.What OpenClaw can do on Discord
On Discord, OpenClaw can post messages with media into a Discord channel.
Channel messages
Send a message into one channel of your server.
Channel list
List the channels the agent may post in, then choose one.
Media
Attach pictures or files to a message.
Scheduling
Send the message at a time you name.
How OpenClaw gets a post onto Discord
You say what you want and OpenClaw makes the calls. A typical conversation goes like this.
Find your Discord channel
Which Discord accounts do I have in iHatePosting?
What happens
- OpenClaw lists your channels and finds Discord
- It can also run the channels helper: Lists the channels the agent can post to.
Compose your content
List my Discord channels and remind the events channel about Friday's call tomorrow at 9:00.
What happens
- OpenClaw drafts the text for Discord
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- OpenClaw schedules the post in iHatePosting
- iHatePosting publishes it to Discord at that time
Discord settings reference
Say the option in your own words and OpenClaw fills in the matching field. This is every Discord setting it can use.
| Field | Type | Required | Description |
|---|---|---|---|
| channel | string | Yes | Channel must be an id |
Common configurations
Each case below is a request OpenClaw understands, followed by the Discord options it sets.
Choose a channel
Post it in the announcements channel
- Applies: channel: the channel's id
What is OpenClaw?
OpenClaw is an open-source agent that keeps running on your machine and takes your messages from chat apps such as WhatsApp or Telegram.
Give it iHatePosting and it can draft, check and schedule posts across 15 networks as part of its work, including on a routine you set.
How iHatePosting works with OpenClaw
Installed as a skill, iHatePosting gives OpenClaw a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- iHatePosting skill (command line): openclaw skills install @mayankkasavala/ihateposting
- iHatePosting MCP server (sign in):
openclaw mcp add ihateposting--urlhttps://app.ihateposting.com/mcp/oauth--transportstreamable-http--authoauth--no-probe - iHatePosting MCP server (API key): Entry in
~/.openclaw/openclaw.jsonwith an Authorization header
# iHatePosting skill (command line)
# Install the iHatePosting skill from ClawHub
openclaw skills install @mayankkasavala/ihateposting
# Or with the skills CLI
npx skills add iHatePostingOrg/iHatePosting-Agent
# Install the command line and sign in once
npm install -g ihateposting
ihateposting auth:login
# Check that it sees your channels
ihateposting integrations:listDiscord and the other platforms OpenClaw reaches
Ask for Discord and other channels in a single message; every channel still applies its own settings.
Discord requests to try in OpenClaw
An announcement
Share the 2.4 changelog in our Discord #announcements channel at 16:00 today.
A reminder
List my Discord channels and remind the events channel about Friday's call tomorrow at 9:00.
A picture
Post banner.png with a one-line caption to the news channel on Discord tonight.
Discord limits and gotchas to know
A few of Discord's rules shape how OpenClaw writes your request, so it helps to know them.
- A message can hold up to 1,980 characters.
- Every post names one channel by its id; the agent lists the channels first and picks the one you mean.
Frequently asked questions
Start free for 30 daysInstall the iHatePosting skill for OpenClaw and sign in once, connect Discord in iHatePosting, then ask OpenClaw for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A message can hold up to 1,980 characters.
OpenClaw can set channel. The settings reference on this page lists what each one does.
No. The command line signs in with ihateposting auth:login in your browser; IHATEPOSTING_API_KEY is only the alternative. The route that takes a key uses one from Settings → Agents / Dev in iHatePosting.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not OpenClaw is still open. An agent that keeps running can also repeat a job on a routine you give it.