π | A lightweight and easy-to-use bot
- Music System
- Playlist Networks
- Multi Language
- SlashCommand
- ContextMenus
- Custom Filters
- Play music from file
- Easy to use
- Autocomplete (Play command)
- Youtube
- SoundCloud
- Spotify
- Deezer
- Twitch
- Apple
- Bandcamp
- Vimeo
- Https (Radio)
π Requirements [CLICK ME]
- Node.js Version 16.6.0+ Download
- Discord Bot Token Guide
- LavaLink Guide (i use this development version Download )
- MongoDB Download (Download & install = Finish!)
Java 11-13 Download JDK13 (i use this version) for LAVALINK!
git clone https://github.com/Dreamvast/Dreamvast-slash
cd Dreamvast-no-intent
npm install
node deploySlash.js global
π Configuration [CLICK ME]
OPTION 1οΈβ£
Copy or Rename .env.example
to .env
and fill out the values:
# Bot
TOKEN=REPLACE_HERE
NP_REALTIME=false
LEAVE_TIMEOUT=120000
LANGUAGE=en
EMBED_COLOR=#000001
# Devloper
OWNER_ID=REPLACE_HERE
# Database
MONGO_URI=mongodb://127.0.0.1:27017/dreamvast
LIMIT_TRACK=50
LIMIT_PLAYLIST=10
# Lavalink
NODE_HOST=localhost
NODE_PORT=5555
NODE_PASSWORD=123456
OPTION 2οΈβ£
Go to folder settings
edit config.js
and you can fill out the values:
require("dotenv").config();
const { resolve } = require("path");
module.exports = {
TOKEN: process.env.TOKEN || "YOUR_TOKEN", // your bot token
PREFIX: process.env.PREFIX || "#", //<= default is # // bot prefix
EMBED_COLOR: process.env.EMBED_COLOR || "#000001", //<= default is "#000001"
OWNER_ID: process.env.OWNER_ID || "YOUR_CLIENT_ID", //your owner discord id example: "515490955801919488"
NP_REALTIME: process.env.NP_REALTIME || "BOOLEAN", // "true" = realtime, "false" = not realtime :3 // WARNING: on set to "true" = laggy and bot will ratelimit
LANGUAGE: {
defaultLocale: process.env.LANGUAGE || "en", // "en" = default language
directory: resolve("languages"), // <= location of language
},
MONGO_URI: process.env.MONGO_URI || "YOUR_MONGO_URI", // your mongo uri
NODES: [
{
host: process.env.NODE_HOST || "localhost",
port: parseInt(process.env.NODE_PORT || "5555"),
password: process.env.NODE_PASSWORD || "123456",
}
],
}
After installation or finishes all you can use node .
to start the bot. or Run Start.bat
π© Features & Commands [CLICK ME]
Note: The default prefix is '/' (Slash Commands)
πΆ Commands!
- Play (/play [song/url])
- Nowplaying (/nowplaying)
- Queue (/queue [page])
- Repeat (/loop type [current, all])
- Loopqueue (/loopall)
- Shuffle (/shuffle)
- Volume control (/volume [10 - 100])
- Pause (/pause)
- Resume (/resume)
- Skip (/skip)
- Skipto (/skipto [position])
- Clear (/musicclear)
- Join (/join)
- Leave (/leave)
- Forward (/forward [second])
- Seek (/seek [second])
- Rewind (/rewind [second])
- Replay (/replay)
- Search (/search [songname])
- 247 (/247)
- Previous (/previous)
- Autoplay (/autoplay)
- File play (/file-play [song file])
βΊ Filter Commands!
- Bass (/filter bass)
- Superbass (/filter superbass)
- Pop (/filter pop)
- Treblebass (/filter treblebass)
- Soft (/filter soft)
- Earrape (/filter earrape)
- Equalizer (/filter equalizer [14 bands])
- Speed (/filter speed [amount])
- Picth (/filter pitch [amount])
- Vaporwave (/filter vaporwave)
- Nightcore (/filter nightcore)
- Bassboost (/filter bassboost [-10 - 10])
- Rate (/filter rate)
- Reset (/filter reset)
- 3d (/filter 3d)
- China (/filter china)
- Chipmunk (/filter chipmunk)
- Darthvader (/filter darthvader)
- DoubleTime (/filter doubletime)
- SlowMotion (/filter slowmotion)
- Tremolo (/filter tremolo)
- Vibrate (/filter vibrate)
- Vibrato (/filter vibrato)
- Daycore (/filter daycore)
- Television (/filter Television)
π Utilities Commands!
- Restart (/restart) // (OWNER ONLY)
- Language (/language input: [language] ) // Example: en, th
- Control (/control input: [enable or disable (default: disable)])
- Setup (/setup type: [Create/Delete] )
π Info Commands!
- Developer (/developer)
- Invite (/invite)
- Ping (/ping)
- Status (/status)
π Playlist Commands!
- Create (/pl-create [name])
- Add (/pl-add [name] [link])
- Private (/pl-private [name])
- Public (/pl-public [name])
- Delete (/pl-delete [name])
- Import (/pl-import [name])
- Detail (/pl-detail [name])
- Remove (/pl-remove [name] [position])
- Savequeue (/pl-savequeue [name])
- View (/pl-view)
π Docker Installation
Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Dockerβs methodologies for shipping, testing, and deploying code quickly, you can significantly reduce the delay between writing code and running it in production.
- Consistency
- Automation
- Stability
- Saves Space
- Run multiple applications with just one virtual machine
- Advances Quickly
- Learning Curve
1. Go to the website https://docs.docker.com/docker-for-windows/install/ and download the docker file.
Note: A 64-bit processor and 4GB system RAM are the hardware prerequisites required to successfully run Docker on Windows 10.
2. Then, double-click on the Docker Desktop Installer.exe to run the installer.
Note: Suppose the installer (Docker Desktop Installer.exe) is not downloaded; you can get it from Docker Hub and run it whenever required.
3. Once you start the installation process, always enable Hyper-V Windows Feature on the Configuration page.
4. Then, follow the installation process to allow the installer and wait till the process is done.
5. After completion of the installation process, click Close and restart.
1. Open the terminal on Ubuntu.
2. Remove any Docker files that are running in the system, using the following command:
sudo apt-get remove docker docker-engine docker.io
3. Check if the system is up-to-date using the following command:
sudo apt-get update
4. Install a few pre-requisite packages that allow apt to use packages over HTTPS using the following command:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
5. Then add the GPG key for the Docker repository to your system:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
6. Update the packages list again with Docker packages from the newly added repo:
sudo apt update
7. Make sure you are about to install from the Docker repo instead of the default Ubuntu repo:
apt-cache policy docker-ce
Example Output:
docker-ce:
Installed: (none)
Candidate: 18.03.1~ce~3-0~ubuntu
Version table:
18.03.1~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
8. Install Docker:
sudo apt install docker-ce
9. Check if Docker is installed and running:
sudo systemctl status docker
Example Output:
β docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-07-05 15:08:39 UTC; 2min 55s ago
Docs: https://docs.docker.com
Main PID: 10096 (dockerd)
Tasks: 16
CGroup: /system.slice/docker.service
ββ10096 /usr/bin/dockerd -H fd://
ββ10113 docker-containerd --config /var/run/docker/containerd/containerd.toml
1. Make sure you config the .env file or the config.js file in ./src/plugins/config.js
2. Change to the Discord bot project directory.
3. Build the docker container for the Discord bot.
docker build -t dreamvast .
4. Run the docker container.
docker run -d dreamvast
1. To build the docker container, using the following command: (Please remove the [] when you type the name)
docker build -t [name] .
The -t
option is the tag name option.
2. To run the docker container, using the following command: (Please remove the [] when you type the name)
docker run -d [name]
The -d
option is runs the container in detached mode (it runs in the background).
3. To list all docker processes and container id, using the following command:
docker ps
4. To see all docker container log, using the following command: (Please remove the [] when you paste the id)
docker logs [container id]
5. To stop the docker container, using the following command: (Please remove the [] when you paste the id)
docker stop [container id]
6. To restart the docker container, using the following command: (Please remove the [] when you paste the id)
docker restart [container id]
7. To remove the docker container, using the following command: (Please remove the [] when you paste the id)
docker rm [container id]
π Docker all in one hosting command
1. Make sure you config the .env file or the config.js file in ./src/plugins/config.js
Example of .env file for docker hosting:
# Bot
TOKEN=REPLACE_HERE
NP_REALTIME=false
LANGUAGE=en
EMBED_COLOR=#000001
# Devloper
OWNER_ID=REPLACE_HERE
2. Use this command and you're done!
docker-compose up -d --build
All commands are exactly the same as the one above, just change from docker
to docker-compose
and change from [container id]
to [name]
Java 11-13 Download JDK13 (i use this version) for LAVALINK!