The bot will save a song, and play whenever the target user joins a voice channel
-
Firstly clone this repo where you plan to have the bot hosted like:
-
Open a terminal where you want the bot files, run
git clone https://github.com/Unknown401/user-song.gitThis may prompt you to login since this is a private repo afterwards there should be a new folder, navigate to it usingcd user-songthen: -
Rename
config_example.jsontoconfig.jsonand paste your discord bot token in the token variable. -You can pick a prefix for the bot here, fyi it responds to @mentions aswell. -
Run
npm installin the console. -
Run the bot with
node index.jsOr any other runtime you have installed.
- Python 2.7
- A C++ compiler for your system.
- NodeJS 8.0.0 or higher.
- ffmpeg.