A Discord bot for playing Radio Paradise in a voice channel.
This bot can run the following commands (and more like help
):
play
: The bot starts the music playback. You can choose one of the channels 'main, mellow, rock, world-etc' and a playback quality '320k, 128k, 64k, 32k'. Default are main and 128kpause
: The bot is pausing the music playbackresume
: The bot resumes music playback.join
: The bot joins in the voice channel you are currently in.leave
: The bot leaves the voice channel.
- You need node.js installed.
- You need a Discord API Bot with its token.
- You need a Discord server on which you can set permissions, so you can invite the bot and give it the following permissions:
- View Channels
- Send Messages
- Read Message History
- Connect
- Speak
- Rename the configuration file (/config/config-template.json) from
config-template.json
toconfig.json
- Open the configuration file (now
config.json
) and set:- your bots
prefix
- your bots
token
- your
admin id's
: Enter a discord user id in quotation marks and separate several with a comma[ "<id>", "<id>", ..., "<id>"]
.
These are the only users who have the permission to execute the commands of this bot. - OPTIONAL: Change
lang
fromen
tode
for german instead of english language. - OPTIONAL: change default channel or quality
- your bots
- Run
npm install
. - Run
npm install ffmpeg-static
Run index.js
with npm start
or node index.js
.