A Discord bot that lets you play local audio tracks in your server. Written for Discord.JS v14
Find a file
2022-03-26 17:56:38 -04:00
commands Some tweaks 2022-03-26 17:53:07 -04:00
music Added help embed and made some tweaks 2020-07-20 19:58:06 -04:00
.gitignore Removed .idea folder 2022-03-25 22:22:20 -04:00
bot.js Some tweaks 2022-03-26 17:53:07 -04:00
deploy-command.js New interaction handler; Merged git and about 2022-03-26 13:43:03 -04:00
LICENSE.md License 2020-07-19 15:32:22 -04:00
package.json New interaction handler; Merged git and about 2022-03-26 13:43:03 -04:00
README.md Merged master changes 2022-03-26 17:56:38 -04:00

DLMP3 Bot (Discord.JS Local MP3)

A Discord bot that plays local mp3 audio tracks. Written in Discord.JS.

Video Tutorial

(Originally for Alee's birthday)

If there's anything wrong or wanting to add a feature, feel free to make a fork and put a pull request.

Configuration

Make a new file called config.json.

{
    "token": "token_here",
    "prefix": "dl:",
    "botOwner": "your_user_id_here",
    "statusChannel": "channel_id",
    "voiceChannel": "voice_channel_id"
    "guildID": "guild_id",
    "clientID": "client_id",
}

Add your own audio files using the mp3 file extension to the music folder.

Deploy the commands by doing node deploy-command.js

Launch the bot using node bot.js in terminal.

Help Command

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.