Blastbot is a simple discord bot that is made for the Blastbot Discord community.
You are free to distribute under the MIT License - see the LICENSE.md file for details
First, make sure you have all the required tools installed on your local machine then continue with these steps.
# Clone the repository
git clone https://github.com/Blastcraftmc/Blastbot.git
# Enter into the directory
cd Blastbot/
# Install the dependencies
npm install
# Configure Discord Bot Token
echo "token='INSERT_YOUR_TOKEN_HERE'" > .env
Make sure that your bot has the applications.commands
application scope enabled, which can be found under the OAuth2
tab on the developer portal
Enable the Server Members Intent
and Message Content Intent
which can be found under the Bot
tab on the developer portal
After cloning the project and installing all dependencies, you need to add your Discord API token in the .env
file.
node index.js
# Build the image
docker build --tag discordbot .
# Run the image
docker run -d discordbot
Before using the bots slash command you first need to add them to your Discord server. You can use the !deploy
command to do so.
Note: Blastbot uses slash commands
- 4k
- Apply
- Play
- Pause
- Resume
- Now Playing
- Queue
- Shuffle
- Loop
- Skip
- Remove
- Move
- Swap
- Stop
- Volume
- Help
- Userinfo
- Ban
- Purge More coming soon!
๐ธ Take a "screenshot" of the chat!.
/4k
๐ซ Apply to help develop Blastbot.
/apply
/play YOUTUBE_URL
/play SONG_NAME
/playtop YOUTUBE_URL
/playtop SONG_NAME
โธ๏ธ Pause music
/pause
/resume
๐ถ Display current playing song
/nowplaying
๐๏ธ Display the current queue
/queue
๐ Shuffle the current queue
/shuffle
๐ Loop/Repeat controls. Off, Track and Queue
/loop MODE
โญ๏ธ Skip the current playing song and play the next in queue
/skip
โ Remove song from the queue
/remove POSITION
โ Move song position. This shifts all other songs up or down one, depending on direction you move the target song.
/move TRACK_POSITION TARGET_POSITION
/swap POSITION_1 POSITION_2
๐ Stop playing (disconnects bot from voice channel)
/stop
๐ Adjust the music bot volume between 0-200
/volume NUMBER
โ Display commands
/help
- Get information about a user (/userinfo USER)
- Ban a player (/ban USER)
- Delete the latest chat messages (/purge NUM_OF_MESSAGES)
I will not accept most pull requests to the repository. You are welcome to contribute by using /apply on the Blastcraft discord server.
This project is licensed under the MIT License - see the LICENSE.md file for details