This project utilizes the Discord.py API and the YouTube API. Mainly one that makes searching and sharing videos in the discord app instead of searching. There is a little tradeoff as it will retrieve only the top result from the query. And there is no other GUI aside from the Discord window. Also utilizes a Postgres database that caches the search history so the application stays under the query limit imposed by the YouTube API.
- Python3
- Postgres
- YouTube API Key (Obtain it here with this guide)
- Discord
- Discord Application Token (Setup a bot with this guide)
- Follow the instructions on how to connect a bot to your server from Application Token guide above.
- Create an .env in the root folder following the .env.example file.
- Run
python3 Bot.py
(Mac) orpy Bot.py
(Windows) in Terminal/CMD to run.