2.0.0 • Published 12 months ago

youtube-alert v2.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
12 months ago

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