Bot for searching and broadcasting songs in Discord channels with optional database for storing custom playlists. Developed in Nodejs with pure Javascript exploring the Discord API with the module discord.js, and integration a Postgres database with Prisma ORM.
Commands "npm i" or "yarn" will install node_modules required to run the program.
The environment variables need to filled as an additional step in the setup:
- Discord API for your own bot token
- Spotify API for also playing playlists from spotify
- (Optional) URL of your local Postgres database
On command terminal run "npm start" or "yarn start". In discord, writting "!connect" will start the bot in your channel and all commands to use it are listed by writting "!help".
A few functionalities still need refining, as in dealing with large playlists can cause side effects as lagging or in some cases the bot will not be able to process massive playlist.