DLAP/README.md

48 lines
1 KiB
Markdown
Raw Normal View History

2020-07-21 15:44:14 -04:00
# DLMP3 Bot (Discord.JS Local MP3)
2022-03-25 14:00:19 -04:00
2020-07-20 22:32:51 -04:00
A Discord bot that plays local mp3 audio tracks. Written in Discord.JS.
[Video Tutorial](https://www.youtube.com/watch?v=7X3FAhYW31I)
2020-07-20 22:32:51 -04:00
(Originally for Alee's birthday)
2020-07-20 17:55:27 -04:00
If 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",
2020-07-20 22:35:20 -04:00
"prefix": "dl:",
2020-07-20 20:17:40 -04:00
"botOwner": "your_user_id_here",
2020-07-20 20:35:46 -04:00
"statusChannel": "channel_id",
"voiceChannel": "voice_channel_id"
"guildID": "guild_id",
"clientID": "client_id",
}
```
2020-07-20 22:27:23 -04:00
Add your own audio files using the mp3 file extension to the `music` folder.
Launch the bot using `node bot.js` in terminal.
2020-07-20 20:12:52 -04:00
# Help Command
```
Public Only
-----------
help - Displays commands.
ping - Pong!
git - Links to the source repo.
2020-07-22 20:05:19 -04:00
playing - Tells you what it's playing at the moment.
about - About the bot.
Bot Owner Only
--------------
join - Joins voice chat.
2020-07-22 20:19:45 -04:00
resume - Resumes music.
pause - Pauses music.
skip - Skips the audio track.
leave - Leaves voice chat.
stop - Stops bot.
2020-07-20 17:17:08 -04:00
```