Plapy is a Discord Music Bot built with TypeScript, discord.js & uses Command Handler from discordjs.guide The project is based on a fork of the open source music bot evobot https://github.com/eritislami/evobot. Goals of the project are:
- To add more functionality like saving and playing playlists from the bots database.
- To provide an API for the user that allows control outside of discord command
- To create a web interface that allows control via the API with a GUI
- To improve the queue experience by providing new features like autoplay and play next
- To host the bot and website on an external server enabling 24/7 access
After installation finishes follow configuration instructions then run npm run start
to start the bot.
If you want to setup the Bot on an Ubuntu server you can follow the instructions in UbuntuServerSetup.md
Copy or Rename config.json.example
to config.json
and fill out the values:
β οΈ Note: Never commit or share your token or api keys publicly β οΈ
{
"TOKEN": "",
"MAX_PLAYLIST_SIZE": 100,
"PRUNING": false,
"LOCALE": "en",
"DEFAULT_VOLUME": 10,
"STAY_TIME": 30,
"SERVER_IP": "localhost",
"STRUCTS_LOCATION": "structs/*.ts"
// if you want to run the compiled version of the bot, change the extension of the file to .js :
// "STRUCTS_LOCATION": "dist/structs/*.js"
}
/play https://www.youtube.com/watch?v=GLvohMXgcBo
/play under the bridge red hot chili peppers
/search Pearl Jam
/playlist https://www.youtube.com/watch?v=YlUKcNNmywk&list=PL5RNCwK3GIO13SR_o57bGJCEmqFAwq82c
/playlist linkin park meteora
Soundcloud support
Start an autoplay radio based on a song (/radio)
Add the currently playing song to a server specific playlsy (/add)
Load a server specific playlist from a dropdown menu (/savedplaylist)
Register for API access (/registerapi)
Create a permanent queue maping to start playing songs from the api without using discord at all (/createpermanentqueue)
β οΈ Note: The Plapy team only maintains the english localization for all added commands β οΈ
Currently available locales are:
β οΈ Not maintained for Plapy commands β οΈ