ProMusic is a bot made using discord.js discordjs.guide
- How to obtain a Discord Bot Token Guide
- YouTube Data API v3 Key Guide
- SoundCloud doesn't provide API anymore**
- Node.js v12.0.0 or newer
After installation finishes you can use node index.js
to start the bot.
Type (npm i) in console
๐จ๐จ Commiting your token to be accessed by others or making it public is strictly prohibited.So, dont share your token in any cost or use .gitignore to hide secrets ๐จ๐จ
{
"TOKEN": "",
"YOUTUBE_API_KEY": "",
"SOUNDCLOUD_CLIENT_ID": "",
"MAX_PLAYLIST_SIZE": 10,
"PREFIX": "/",
"PRUNING": false,
"STAY_TIME": 30,
"LOCALE": "en",
"support_server": "",
"DEFAULT_VOLUME": 100
}
Currently available locales are:
โข English (en) โข French (fr) โข Spanish (es) โข Turkish (tr) โข Korean (ko) โข Brazilian Portuguese (pt_br) โข Simplified Chinese (zh_cn) โข Traditional Chinese (zh_tw)
Note: The default prefix is '/'
- ๐ถ Using YouTube Url
/play https://www.youtube.com/c/ScienceGearYT
- ๐ Playing music via Name
/play FatRat Fire
- ๐ Search and play
/search Imperial March Trap Remix by Goblins from Mars
Get GEAR repo here - https://github.com/ScienceGear/Gear