A bot to send your youtube channel notifications to discord
- Stores Video links
- Keeps checking for new video every 20 seconds
- If a unstored video is found then sends notification in discord and stores it
- Node.js v12 or above
- Mongodb
Clone the repo
git clone https://github.com/CRZA5/CRZA5/youtube-notifications-bot-ts.git
cd CRZA5/youtube-notifications-bot-ts
Install dependencies
- Yarn
yarn
- npm
npm install
Compile Typescript to JavaScript
- Yarn
yarn build
- npm
npm run build
Create .env file
MONGO_URL="your mongo uri"
TOKEN="your bot token"
NODE_ENV=development or production
Start the bot
yarn start
Create .env file
MONGO_URL="your mongo uri"
TOKEN="your bot token"
NODE_ENV=development or production
Pull the image
docker pull ghcr.io/crza5/youtube-notifications-bot-ts:latest
Run the bot
docker run --restart=always -d --env-file .env ghcr.io/crza5/youtube-notifications-bot-ts:latest