This project is licensed under the MIT License - see the LICENSE file for details.
Modifications or redistributions of this code must include the following statement in the README.md:
"This project is based on code by juktupremium, and modifications were made."
This bot is a custom Discord bot that integrates with the YouTube API to send announcements of new live streams or video uploads to specific Discord channels. The bot checks YouTube channels periodically and sends messages to Discord channels when a new video or live stream is detected.
- YouTube Integration: Monitor multiple YouTube channels for new uploads or upcoming live streams.
- Discord Notifications: Send notifications to Discord channels about new content.
- Role-Based Alerts: Notify specific roles in the server when a new video or live stream is available.
- Customizable: Easily add and modify the monitored channels and related settings.
- Node.js (version 18 or higher)
- npm (Node package manager)
- A Discord Bot Token (create one by following the steps on Discord Developer Portal)
- YouTube API Keys (obtainable from Google Developers Console)
- A Discord Server (to test and run the bot)
1. Clone the repository:
git clone https://github.com/JukutPremium/RememoriesBot.git2. Install dependencies:
npm install1. Edit the .env file:
DISCORD_TOKEN=your_discord_bot_token
YOUTUBE_API_KEY_1=your_youtube_api_key_1
YOUTUBE_API_KEY_2=your_youtube_api_key_2
YOUTUBE_API_KEY_3=your_youtube_api_key_32. Edit the data.json file:
[
{
"name":"jukutpremium",
"youtubeChannelId": "UC_x5XG1OV2P6uZZ5N9YP3e4",
"discordChannelId": "123456789012345678",
"roleId": "987654321098765432",
"profileImg": "https://example.com/profile.jpg",
"color": "#FF0000"
}
]- After setting up the
.envanddata.jsonfiles, you can start the bot by running the following command:
node index.jsThis project is licensed under the MIT License, with the following additional condition:
-
If you modify or redistribute this code, you must fork the original repository and include the following statement in your README.md file:
"This project is based on code by juktupremium, and modifications were made."