Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

youtube-alert

Bes-js116GPL-3.02.0.0

Get Video Notifications on Your YouTube Channel Quickly!

nodejs, esm, es6, commonjs, constructor, configuration, easy, ytdl, ytdl-core, yt, stream, live, live-stream, discord-player, ytdl-player, erela-js, erela, discord-youtube, youtube, youtube-alert, alert, discord-youtube, youtube-api, api, youtubealert, youtube-video, video, videos, channel, discord, discord.js

readme

stats

Buy Me A Coffee

npm version npm info

Typing SVG

To Install the youtube-alert module, open a console and write the code below.

For npm

npm i youtube-alert

For Yarn

yarn add youtube-alert

Typing SVG

For CommonJS

const { YouTube }= require("youtube-alert")
const YouTubeClient = new YouTube()

For ES6

import { YouTube } from "youtube-alert";
const YouTubeClient = new YouTube()

Typing SVG

Click Here To Get Support!

# Function

YouTubeClient.setChannel("YouTube Channel ID")

# Events

YouTubeClient.on("newPost", async(data) => {
console.log(data);
})

Typing SVG

id: "yt:video:5WtlCEgsoiE",
videoID: "5WtlCEgsoiE",
title: "Brawlhalla Ranked 2v2 (Backstage)",
link: "https://www.youtube.com/watch?v=5WtlCEgsoiE",
author: "Be$",
published: 2022-04-24T21:33:47+00:00,
updated: 2022-07-24T10:04:09+00:00,
thumbnail: "https://i2.ytimg.com/vi/5WtlCEgsoiE/hqdefault.jpg",
description: "2v2 ft. Luppux",
views: "40",
check_date: 23/05/2023 21:35:03



Typing SVG

Discord Banner

Buy Me A Coffee