How to post YouTube uploads to Discord automatically
Every YouTube channel has a public feed of its latest uploads. The social alerts template checks that feed on a schedule with the <strong>Check a feed</strong> step and posts in your server when there's a new video. The same step works with any RSS or Atom feed, such as a blog, a podcast or a news site. Schedules need a bot that stays connected, so it runs on Buildcord Boost, the $8-a-month plan.
Steps
Find the channel's ID
On the YouTube channel's page, open its about panel, choose Share channel, then Copy channel ID. It starts with
UC.Start from the social alerts template
Open the social alerts template in Buildcord. It makes a bot with a Schedule flow, a Check a feed step and the announcement already drawn.
Give it the feed
In the Check a feed step, paste
https://www.youtube.com/feeds/videos.xml?channel_id=followed by the channel ID.Write the announcement
In the step on the Something new way out, choose your channel and write the message. The video's title is
{feed.item.title}and its link{feed.item.link}, which Discord turns into a player.Deploy
Paste your token and deploy to a gateway bot. The first check notes where the feed is up to, and the next upload is posted.
Good to know
- Turn on Announce what's there the first time in the step to post the latest video straight away, which is handy for testing.
- Ping a role in the announcement, such as
@Uploads, so members who want alerts get notified. - Watching several channels is one Check a feed step for each, side by side in the same schedule.
- For Twitch streams going live, see go-live notifications.
Questions
How quickly does a new video get posted?
As soon as the next scheduled check sees it in the feed. YouTube's feed can take a few minutes to show a new upload.
Do I need a YouTube API key?
No. The channel's feed is public, so the Check a feed step reads it without a key.
Does it work with other sites?
Yes, any site with an RSS or Atom feed: blogs, podcasts, news sites, and many forums and subreddits.
More guides
- How to make a Discord bot without coding
- How to build a Discord bot from ChatGPT
- How to set up a ticket system in Discord
- How to give roles automatically in Discord
- How to post in Discord when someone goes live
- How to host a Discord bot 24/7 for free
- How to make custom slash commands in Discord
- How to set up a welcome message in Discord
- How to set up a warning system in Discord
- How to make a Discord reaction role bot
- How to set up auto-moderation on Discord with AI
- How to log deleted messages on Discord
- How to make a poll in Discord with a bot
- How to set up a starboard on Discord
- How to make a Discord reminder bot
- How to make a Discord birthday bot
- How to make a Discord application form
- How to make a counting channel in Discord
- How to make an AI FAQ bot for your Discord server