Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twlite/youtube-notification-bot
Simple and easy to use discord bot to notify members whenever a video is posted on a YouTube channel.
https://github.com/twlite/youtube-notification-bot
Last synced: 4 days ago
JSON representation
Simple and easy to use discord bot to notify members whenever a video is posted on a YouTube channel.
- Host: GitHub
- URL: https://github.com/twlite/youtube-notification-bot
- Owner: twlite
- License: mit
- Created: 2020-03-09T08:20:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T22:32:08.000Z (3 months ago)
- Last Synced: 2024-10-26T20:32:27.341Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 84
- Watchers: 5
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Youtube Notification Bot
Simple and easy to use discord bot to notify members whenever a video is posted on a YouTube channel.# Packages Used
- **[discord.js](https://npmjs.com/package/discord.js "View on npmjs")**
- **[quick.db](https://npmjs.com/package/quick.db "View on npmjs")**
- **[rss-parser](https://npmjs.com/package/rss-parser "View on npmjs")**# config.js
```js
module.exports = {
token: "YOUR_DISCORD_BOT_TOKEN", // discord bot token
channel: "DISCORD_CHANNEL_ID", // channel id of a channel to send message
messageTemplate: "Hello @everyone, **{author}** just now uploaded a video **{title}**!\n{url}", // message to send on discord
channel_id: "YOUTUBE_CHANNEL_ID", // youtube channel id
watchInterval: 30000 // Check every 30 seconds
};
```