Description
Our YouTube notification module is designed to allow your community to automatically follow new videos from their favorite creators directly on Discord!
Additionally, it automatically updates the name of a voice channel to display the real-time subscriber count of the YouTube channel 📊.
🔄 How the system works
Section titled “🔄 How the system works”- Monitoring YouTube channels
- Automatic notification
- 🔗 Direct link to the video
- 🎥 Video title
- 📝 Creator
- 🖼️ Video thumbnail
- Notification customization
- 📢 The role to mention when a new video is posted
- 🎯 The destination channel for notifications
- ⏱️ The frequency of checking for new videos
The module regularly checks configured YouTube channels to detect any new videos published. You can configure multiple channels to monitor simultaneously 📺.
As soon as a new video is detected, the module automatically creates a notification in the configured Discord channel with the link, which includes:

You will be able to configure:
✨ System benefits
Section titled “✨ System benefits”- 🎯 Never miss a video from your favorite creators
- 🤖 Full automation of the notification process
- 📊 Simple and centralized management of channels to monitor
- 🔔 Customizable and informative notifications
❗ Important
Section titled “❗ Important”- The module will not work by just downloading the files; it must be integrated into an already functioning Discord bot
- We use Prisma as the ORM for database management; make sure your project also uses Prisma or adapt the code accordingly
⚠️ Prerequisites
Section titled “⚠️ Prerequisites”- A functional Discord bot with the necessary permissions
- A valid YouTube API key -> See installation section
- Knowledge in Discord bot development (Javascript) and database management
Files/folders
Section titled “Files/folders”Directorycommands
Directorynotification
- notification-add.js Slash command implementation
- notification-list.js Slash command implementation
- notification-remove.js Slash command implementation
Directoryprisma
- schema.prisma Data model for the module (Prisma)
Directoryutils
Directorynotification
- youtube.js Utility functions for YouTube management
- utils.js Reusable functions
- .env Required environment variables
- index.js Script entry point
- package.json Required dependencies
Dependencies & Versions
Section titled “Dependencies & Versions”Here are the versions used for development and testing the script:
- @prisma/client@6.18.0
- discord.js@14.24.0
- dotenv@16.6.1
- uuid-js@0.7.5
- axios@0.26.1