A Node.js bot for YouTube Live that responds to chat commands, filters bad words, sends automated messages, and relays chat to Discord.
- Responds to custom chat commands (configurable)
- Sends automated timed messages to chat
- Basic moderation: filters and warns for banned words
- Welcomes first-time chatters
- Relays all chat messages to a Discord channel via webhook
- Easy YAML configuration (no code changes needed)
git clone https://github.com/nexoslabs/bot-youtube-template.git
cd bot-youtube-templatenpm install- Go to Google Cloud Console
- Enable the YouTube Data API v3
- Create OAuth 2.0 credentials (Desktop app)
- Download the
client_secret.jsonfile and place it in the project root
Edit bot.yml to customize commands, moderation, timed messages, and Discord webhook.
node index.js
# Follow the link and paste the code as promptednode index.js- The bot will automatically join your active YouTube live stream (must be running on your channel)
- It will post timed messages, respond to chat commands, and relay all chat to Discord
- To add or change commands, edit
bot.ymland restart the bot - To moderate new words, add them to
badWordsinbot.yml
We ❤️ contributions! Follow these steps to contribute:
- 🍴 Fork the repository
- 🌿 Create a new branch (
git checkout -b feature/AmazingFeature) - 💾 Commit your changes (
git commit -m 'Add some AmazingFeature') - 🚀 Push to the branch (
git push origin feature/AmazingFeature) - 🔃 Open a Pull Request
📖 See our Contribution Guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for details.
💬 Join us on Discord: Click Here
🐦 Follow on Twitter: @nexoslabs
📧 Email: contact@nexoscreation.tech
Made with ❤️ by the @nexoslabs Team