A Discord bot that plays local mp3 audio tracks. Written in Discord.JS.
(Originally for Alee's birthday)
If there's anything wrong, feel free to make a fork and put a pull request.
Make a new file called config.json
.
{
"token": "token_here",
"prefix": "dl:",
"botOwner": "your_user_id_here",
"statusChannel": "channel_id",
"voiceChannel": "voice_channel_id"
}
Add your own audio files using the mp3 file extension to the music
folder.
Launch the bot using node bot.js
in terminal.
Public Only
-----------
help - Displays commands.
ping - Pong!
git - Links to the source repo.
playing - Tells you what it's playing at the moment.
about - About the bot.
Bot Owner Only
--------------
join - Joins voice chat.
resume - Resumes music.
pause - Pauses music.
skip - Skips the audio track.
leave - Leaves voice chat.
stop - Stops bot.