# Feeds

Source: https://righteousbot.dev/docs/features/feeds/

Post X/Twitter, YouTube, TikTok, Twitch, Kick and GitHub activity into a channel automatically: the shared panel, ping, identity and troubleshooting, then what differs on each platform.

A feed watches something outside Discord and posts it into a channel by itself. Changing one needs **Manage Server** and **Server Premium**; looking is free. There are no keyword filters, and pasted-link cards are a different thing ([`,config social`](/commands/server-tools/config/#config-social); turning that off doesn't pause a feed). Letterboxd feeds are in [Letterboxd](/docs/features/letterboxd/#mirror-new-logs-into-a-channel).

## Add a feed [#add-a-feed]

| Platform                            | Add a feed                                                  | Checks                | Per server |
| ----------------------------------- | ----------------------------------------------------------- | --------------------- | ---------- |
| [X/Twitter](#xtwitter)              | `,twitterfeed add <#channel> <@handle> [message]`           | \~2 min               | 5          |
| [YouTube](#youtube)                 | `,youtubefeed add <#channel> <channel-or-handle> [message]` | \~5 min               | 5          |
| [TikTok](#tiktok)                   | `,tiktokfeed add <#channel> <@handle> [message]`            | \~5 min               | 3          |
| [Twitch and Kick](#twitch-and-kick) | `,livefeed add <#channel> <login\|URL> [message]`           | 2 min                 | 5          |
| [GitHub](#github)                   | `,github add <owner/repo> [channel]`                        | Real time (a webhook) | 10         |

Each also has a slash form, [`/feeds <platform> add`](/commands/server-tools/github/#github-twitter-add). A new feed starts from now, and after an outage catch-up stops at 24 hours. At the cap, `add` is refused until you remove one (a server already over keeps its feeds). A feed lives in one channel: to move it, remove it and add it again. The exception is GitHub, where [`,github channel`](/commands/server-tools/github/#github-channel) moves it.

## Manage a feed [#manage-a-feed]

Shown for X; each platform has the same names under its own command. [`list`](/commands/server-tools/twitterfeed/#twitterfeed-list) and [`info`](/commands/server-tools/twitterfeed/#twitterfeed-info) show every feed, or one feed's setup and why it is quiet (**free**, Manage Server only). [`pause`](/commands/server-tools/twitterfeed/#twitterfeed-pause), [`resume`](/commands/server-tools/twitterfeed/#twitterfeed-resume) and [`retry`](/commands/server-tools/twitterfeed/#twitterfeed-retry) stop it, restart it, or clear a broken mark. [`test`](/commands/server-tools/twitterfeed/#twitterfeed-test) posts the newest item (or the stream's state) now, never pings and saves nothing. [`label`](/commands/server-tools/twitterfeed/#twitterfeed-label) is a display-only nickname; [`remove`](/commands/server-tools/twitterfeed/#twitterfeed-remove) deletes the feed.

## Use the one panel [#use-the-one-panel]

[`/feeds panel`](/commands/server-tools/github/#github-panel) is a private card with a tab per platform. It opens only over slash: every prefix `panel` form refuses and points you here. Press **Add**, pick the channel, fill in the form. **GitHub has no Add button**, because its secret must reach you privately: use [`,github add`](/commands/server-tools/github/#github-add).

## Add a message and a ping [#add-a-message-and-a-ping]

<CommandBlock syntax=",twitterfeed message <#channel> <@handle> <text|off> [@role] [@everyone]" example=",twitterfeed message #news @NASA Breaking: @Staff" />

[`message`](/commands/server-tools/twitterfeed/#twitterfeed-message) sets text posted with every post, and it is the only place a ping is set. A role or `@everyone` needs **Mention Everyone**; running it again with plain text clears the ping. If the role isn't mentionable, Righteous needs Mention Everyone in that channel too.

<Callout type="warn" title="Type the mention into the text">
  A role that isn't written into the message text renders but pings nobody. The command warns when it isn't.
</Callout>

## Post under a different name [#post-under-a-different-name]

Posts use one of three identities: `off` (Righteous, free), `source` (the source's own name and picture; **new feeds start here**) or `custom` (a name and picture you set). `source` and `custom` need Server Premium. The command is `webhook` on each platform ([X](/commands/server-tools/twitterfeed/#twitterfeed-webhook), [YouTube](/commands/server-tools/youtubefeed/#youtubefeed-webhook), [TikTok](/commands/server-tools/tiktokfeed/#tiktokfeed-webhook), [Live](/commands/server-tools/livefeed/#livefeed-webhook), [GitHub](/commands/server-tools/github/#github-webhook)). `webhook default` sets one name, picture and mode for every platform; a feed that chose for itself, even `off`, keeps its own.

If Server Premium lapses, X, YouTube, TikTok and Live feeds stop posting, while a **GitHub feed keeps posting** and only loses its custom name and picture. Settings are kept, so renewing resumes everything.

<Callout type="warn" title="Righteous needs Manage Webhooks in the channel">
  Without it, or in a channel already holding Discord's 15 webhooks, posts arrive as Righteous. `info` says why. A picture URL must be a direct image Discord can fetch.
</Callout>

## Why a feed goes quiet [#why-a-feed-goes-quiet]

Four independent reasons, checked in this order. Each fix clears only its own reason; nothing deletes a feed.

| Reason                  | Fix                                                                                                                                      |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| You paused it           | `resume` (retrying or renewing won't)                                                                                                    |
| It's marked broken      | `retry`, once the cause is gone                                                                                                          |
| Server Premium lapsed   | Renew. Checked live, so it clears at once                                                                                                |
| Its channel was deleted | The feed is parked. GitHub: [`,github channel`](/commands/server-tools/github/#github-channel) repoints it. Others: remove and add again |

Broken means an X account gone private or a YouTube channel that no longer exists (noticed at once), or anything else failing for about an hour (a deleted account, the platform down, Righteous losing permission to post). A streamer who isn't live is **never** broken, and neither is GitHub.

## X/Twitter [#xtwitter]

**Public accounts only**: a private one is refused by name. If a followed account goes private, then public again, run `retry`. A video over the upload limit posts as a link; boosting raises the limit.

[`retweets`](/commands/server-tools/twitterfeed/#twitterfeed-retweets), [`replies`](/commands/server-tools/twitterfeed/#twitterfeed-replies) and [`threads`](/commands/server-tools/twitterfeed/#twitterfeed-threads) are all on. [`reply`](/commands/server-tools/twitterfeed/#twitterfeed-reply) is `off`, `line` or `embed` (default), [`style`](/commands/server-tools/twitterfeed/#twitterfeed-style) `card` (default), `compact` or `link`. [`stats`](/commands/server-tools/twitterfeed/#twitterfeed-stats), [`quality`](/commands/server-tools/twitterfeed/#twitterfeed-quality) (prefix and panel only) and [`copy`](/commands/server-tools/twitterfeed/#twitterfeed-copy) (the ping is dropped if you lack Mention Everyone there) are on the command page.

<DiscordEmbed
  caption="A reply under `embed` mode: the post being answered sits above the card."
  poster="NASA"
  embeds="[
  {
    color: &#x22;#8899A6&#x22;,
    author: &#x22;Sam Rivera · @samr&#x22;,
    authorIcon: true,
    description: &#x22;Anyone know when the next launch window opens?&#x22;,
    image: &#x22;photo&#x22;,
  },
  {
    color: &#x22;#1DA1F2&#x22;,
    description: &#x22;↩ replying to [@samr](profile)\n\nThursday morning. Watch live from 8 a.m. ET.\n\n💬 `12`  🔁 `3`  ❤️ `40`  👁 `1.2K`&#x22;,
    footer: &#x22;feed&#x22;,
    footerIcon: true,
  },
]"
  rows="[[{ label: &#x22;Open on Twitter&#x22;, emoji: &#x22;<:twitter:1549851274596319282>&#x22;, style: &#x22;link&#x22; }]]"
/>

If the other post is deleted or private, the post still arrives with just the line.

## YouTube [#youtube]

Prefer the channel's URL or `UC…` id: a bare `@handle` sometimes finds the wrong channel, and the fix is to remove the feed and add it again. YouTube never uploads video.

[`videos`](/commands/server-tools/youtubefeed/#youtubefeed-videos), [`shorts`](/commands/server-tools/youtubefeed/#youtubefeed-shorts) and [`live`](/commands/server-tools/youtubefeed/#youtubefeed-live) are one switch per kind, all on; **the last one on can't be turned off**. [`style`](/commands/server-tools/youtubefeed/#youtubefeed-style) `default` posts videos and livestreams as a plain link (Discord plays it) and Shorts as a card; `card`, `compact` or `link` applies to all three.

## TikTok [#tiktok]

**Public accounts only**: a private one is refused by name. One that goes private later is **not** reported as private: the feed is marked broken, so `retry` once it is public. There are no content switches.

[`style`](/commands/server-tools/tiktokfeed/#tiktokfeed-style) is `card` (default: the video uploaded, plus author, caption and stats; **needs Attach Files** in the channel), `compact` (a small preview, no upload) or `link`. A video over the server's upload limit posts as a link and says so; boosting raises the limit. [`quality`](/commands/server-tools/tiktokfeed/#tiktokfeed-quality) picks HD or SD (prefix and panel only).

## Twitch and Kick [#twitch-and-kick]

Slash asks Twitch or Kick with a picker. **On prefix a bare name always means Twitch**, even if you typed `,kickfeed`: for Kick paste the link or write `,livefeed add #live kick <login>`. A name that doesn't exist is refused.

Going live posts a card (only this post pings); when the stream ends, **the same post is edited** with its length, peak viewers and category, a few minutes late on purpose (it waits for two "not live" checks, about four minutes). If the announcement or its webhook is deleted, nothing updates.

[`offline`](/commands/server-tools/livefeed/#livefeed-offline) edits the post when the stream ends (on by default), [`updates`](/commands/server-tools/livefeed/#livefeed-updates) edits the card when the title or category changes (off by default), and [`style`](/commands/server-tools/livefeed/#livefeed-style) is `card`, `compact` or `link`.

## GitHub [#github]

Adding gives a payload URL and a secret to paste into the repository's **Settings → Webhooks** on GitHub. On prefix the secret is DMed; on slash it is shown privately. If your DMs are closed the feed is **deleted on the spot**: open them and run it again, or use slash.

A GitHub feed is addressed by its short id. Commands: [`list`](/commands/server-tools/github/#github-list), [`info`](/commands/server-tools/github/#github-info), [`remove`](/commands/server-tools/github/#github-remove), [`channel`](/commands/server-tools/github/#github-channel), [`style`](/commands/server-tools/github/#github-style) (`embed` or `compact`) and [`copy`](/commands/server-tools/github/#github-copy).

## Common issues [#common-issues]

**A feed stopped posting.** Run `info` on it: it names which reason applies, including when several do.

**Nothing has posted since I added it.** The source probably hasn't posted yet. Run `test` to see a post now.

**My ping never fires.** The mention has to be typed into the text; see [Add a message and a ping](#add-a-message-and-a-ping).
