A Discord bot that lets you play local audio tracks in your server. Written for Discord.JS v14
Find a file
2022-03-30 16:34:24 -04:00
commands Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00
.gitignore Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00
AudioBackend.js Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00
bot.js Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00
deploy-command.js Permission system on certain commands 2022-03-29 00:03:42 -04:00
LICENSE.md License 2020-07-19 15:32:22 -04:00
package.json Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00
README.md Renamed project; Auto creates music folder when not detected; Removed audio limitation 2022-03-30 16:34:24 -04:00

DLAP Bot (Discord.JS Local Audio Player)

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

Video Tutorial

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

Configuration

Make a new file called config.json.

{
    "token": "token_here",
    "botOwner": "your_user_id_here",
    "txtFile": true/false
    "statusChannel": "channel_id",
    "voiceChannel": "voice_channel_id"
    "guildID": "guild_id",
    "clientID": "client_id",
}

Create the music folder.

Add your own audio files 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.
about - Information 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.

Forking

When forking the project, you can make your own version of DLMP3 or help contribute to the project (See the "Contributing" section).

You need to edit /commands/about.js to uncomment the .addField('Forked by', '[your name] (discord#0000)') section.

Be sure to replace that with your name.

Contributing

When contributing, be sure to add yourself to the contributors list in /commands/about.js.