Skip to content

YouTube notifications Discord bot

Your bot posts each new upload from a YouTube channel in the Discord channel you pick, with the title, link, and thumbnail. You write the message and choose who gets pinged. Set it up in BotGhost, the no-code Discord bot maker, without a YouTube API key.

Free on every bot. A free bot can follow up to 3 YouTube channels.

How a new YouTube upload reaches your Discord server

You don't need a YouTube API key or a Google account. BotGhost does the YouTube side, from the moment a video goes up to the alert in your channel.

  1. 1

    Tom's Builds uploads a video

  2. 2

    YouTube tells BotGhost

    BotGhost follows the channel through YouTube's push notifications, once for all the bots watching it. YouTube sends a notice when a new video goes up.

  3. 3

    BotGhost checks the video

    • Uploaded by the channel you added
    • Public
    • Finished processing on YouTube
    • Not the video it last posted
    SkippedPrivateUnlistedStill processingPosted already
  4. 4

    Your bot posts it

    BotGhost gets the video's details and the channel's latest stats, and every bot following the channel runs its event. Yours posts in the channel you picked.

BotGhost renews the YouTube follow for you

YouTube's follow on a channel only lasts 5 days. Every 6 hours, BotGhost looks for follows with less than 2 days left and renews them, so you don't have to add the channel again.

Set up YouTube notifications in Discord

It's one event in the builder: a YouTube Video Upload block that watches the channel, then a Send or Edit a Message block that posts the alert.

  1. 1Open YouTube Notifications

    On the Modules page, scroll to Social Integrations and click YouTube Notifications. The builder opens with both blocks already joined up. Pick the server it should post in when it asks.

    The YouTube Notifications card on the Modules page: Get notified when a YouTube channel uploads a video
  2. 2Add the YouTube channel

    Click the YouTube Video Upload block. Paste the channel's @handle, its channel ID (it starts with UC), or a link to the channel, then press Validate Channel. You'll see the channel's name and avatar once it's found.

    The YouTube Video Upload block settings, with @tomsbuilds typed in the YouTube Channel field and a red Validate Channel button under it
  3. 3Write the alert and save

    Click the Send or Edit a Message block. It already has a short alert in it. Press Edit message to change the words with the YouTube variables below, then under Where it goes pick the Discord channel. Press Save Event and your bot posts the next upload.

    The Send or Edit a Message settings: a message preview using the YouTube channel title and video title variables, an Edit message button, and Where it goes set to a specific channel

YouTube variables for your notification message

Type these into the message or an embed and the bot fills them in from the new video. There are 19 in all.

What you write

<@&your role ID> {event_youtube_channel_title} just uploaded a new video!

{event_youtube_video_title}

Length: {event_youtube_duration}

{event_youtube_video_url}

YouTube variables and what they fill in
{event_youtube_channel_title}The channel name people see
{event_youtube_video_title}The video title
{event_youtube_video_url}The link to watch it
{event_youtube_thumbnail_url}The thumbnail, in the biggest size YouTube has
{event_youtube_duration}How long it is, like 18:42

Role pings, buttons, and filters for YouTube alerts

The alert is an ordinary event, so anything the Discord bot command builder can do works here too.

  • Ping a role

    Put the role's mention at the start of the message and members with it get pinged. Allowed Mentions in the block lets you limit who can be pinged.

  • Add a Watch button

    Add a link button to the message and set its link to {event_youtube_video_url}. It opens the video when someone clicks it.

  • Show the thumbnail

    Turn the message into an embed and use {event_youtube_thumbnail_url} as its image, so the thumbnail shows big under the title.

  • Only post some videos

    Put a Comparison Condition before the message. Check whether the title contains "Minecraft", for example, and the bot only posts the videos that match.

Follow several YouTube channels, free or with Premium

Each YouTube channel gets its own event, so each one can post in its own Discord channel with its own message. Open YouTube Notifications again for each channel you add.

FeatureFreePremium
YouTube Notifications, variables, and buttonsIncludedIncluded
YouTube channelsUp to 3No limit
Servers5Unlimited
Bot switches off without activityAfter 2 daysNot after 2 days

The 3 free events are shared with your bot's other events. See Premium prices

Preview the alert for your next upload

Type your channel name and the title of the video you're working on. On BotGhost, the bot fills these in from the variables when the video goes up.

#new-videos
BotGhost CommunityAPPToday at 17:01@YouTube Pings Tom's Builds just uploaded a new video!
I survived 100 days on one block
Watch on YouTube

YouTube notifications questions

Still stuck? Ask in the BotGhost Discord, or read the docs on action events.

Make a bot on BotGhost and invite it to your server. Open Modules, click YouTube Notifications, paste the YouTube channel's @handle or link into the YouTube Video Upload block, and press Validate Channel. Then pick the Discord channel in the Send or Edit a Message block, write your alert, and press Save Event.

See the setup

Post your next YouTube video in Discord

Make a bot, add the channel, and write the alert. The free plan doesn't need a card.

Create your bot for free