DEV Community

Lucifer25x
Lucifer25x

Posted on

I Maked simple YouTube bot! :D

You can get source code from Github:
https://github.com/Lucifer25x/youtube-bot

Bot commands:

  • /info {url} - About video
  • /search {text} - Search video

Used Dependencies:

  • telegraf
  • @fabricio-191/youtube
  • dotenv

Create your own Youtube bot:

Clone repository:

git clone https://github.com/Lucifer25x/youtube-bot.git
Enter fullscreen mode Exit fullscreen mode

Create .env file and type your bot token:

TOKEN=your_bot_token
Enter fullscreen mode Exit fullscreen mode

Install npm dependencies:

npm install
Enter fullscreen mode Exit fullscreen mode

Start project:

npm start
Enter fullscreen mode Exit fullscreen mode

Discussion (0)