Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
/ NanoSpaceEngine Public archive

This is the main source code of Dreamvast. You can clone it to run on your server.

License

Notifications You must be signed in to change notification settings

Dreamvast/NanoSpaceEngine

Repository files navigation

This engine has been archived!

📑 Short Feature

  • Music System
  • Custom Filters
  • Easy to use

🎶 Support Source

  • Youtube
  • SoundCloud
  • Spotify
  • Deezer
  • Facebook
  • Twitch
  • Apple
  • Bandcamp
  • Vimeo
  • Https (Radio)
📎 Requirements [CLICK ME]

📎 Requirements

  1. Node.js Version 16.6.0+ Download
  2. Discord Bot Token Guide
  3. LavaLink Guide (i use this development version Download )
  4. MongoDB Download (Download & install = Finish!)

🛑 Super Requirements

Java 11-13 Download JDK13 (i use this version) for LAVALINK!

📚 Installation

git clone https://github.com/Dreamvast/Dreamvast/
cd Dreamvast
npm install
📄 Configuration [CLICK ME]

📄 Configuration

Copy or Rename .env.example to .env and fill out the values:

# Bot
TOKEN=put your bot token here
LEAVE_TIMEOUT=put your timeout value here (must be a number and 1000 = 1 seconds)
PREFIX=put your prefix here
OWNER_ID=put your id here (example: 898728768791789628)
TOGGLE_SLASH=disable (put enable or disable here to use or not use slash)
EMBED_COLOR="#1591d7" (put your hex code color here with "")

# Lavalink
NODE_HOST=put your lavalink ip here
NODE_PORT=put your lavalink port here
NODE_PASSWORD=put your lavalink password here

# Spotify
SPOTIFY_ID=put your spotify id here
SPOTIFY_SECRET=put your spotify secret here

# Slash
CLIENT_ID=Put your client id here
GUILD_ID=Put your guild (server) id here # You can delete it or leave it alone

# Top.gg
TOPGG_TOKEN=put your top.gg token here (required)

# Database
MONGO_URI=put your mongo uri here

OPTION 2️⃣ Go to folder settings edit config.js and you can fill out the values:

After installation or finishes all you can use npm run auto for start the bot with auto update code or node . to start the bot. or Run Start.bat

🔩 Features & Commands [CLICK ME]

🔩 Features & Commands

Note: The default prefix is 'd!' 🎶 Music Commands!

  • Play (d!play [song/url])
  • Nowplaying (d!nowplaying)
  • Queue (d!queue [page])
  • Repeat (d!loop type [current, all])
  • Loopqueue (d!loopall)
  • Shuffle (d!shuffle)
  • Volume control (d!volume [10 - 100])
  • Pause (d!pause)
  • Resume (d!resume)
  • Skip (d!skip)
  • Skipto (d!skipto [position])
  • Clear (d!clear)
  • Join (d!join)
  • Leave (d!leave)
  • Forward (d!forward [second])
  • Seek (d!seek [second])
  • Rewind (d!rewind [second])
  • Replay (d!replay)
  • Search (d!search [songname])
  • Previous (d!previous)
  • Autoplay (d!autoplay)
  • Radio (d!radio)

Filter Commands!

  • Bass (d!bass)
  • Superbass (d!superbass)
  • Pop (d!pop)
  • Treblebass (d!treblebass)
  • Soft (d!soft)
  • Earrape (d!earrape)
  • Equalizer (d!equalizer [14 bands])
  • Speed (d!speed [amount])
  • Picth (d!pitch [amount])
  • Vaporwave (d!vaporwave)
  • Nightcore (d!nightcore)
  • Bassboost (d!bassboost [-10 - 10])
  • Rate (d!rate)
  • Reset (d!reset)
  • 3d (d!3d)
  • China (d!china)
  • Chipmunk (d!chipmunk)
  • Darthvader (d!darthvader)
  • DoubleTime (d!doubletime)
  • SlowMotion (d!slowmotion)
  • Tremolo (d!tremolo)
  • Vibrate (d!vibrate)
  • Vibrato (d!vibrato)

📑 Utilities Commands!

  • Restart (d!restart) // (OWNER ONLY)

📚 Installation on Deploy Platform (Self Hosting 24/7) [CLICK ME]

Creating a discord bot account

Click this and follow the steps in it

Click one of these 3 link.

1. Deploy Dreamvast on Railway (With Railway, you just follow the step in Railway)

2. Deploy Dreamvast on Replit

If you are deploy in replit, follow all this step bellow

  1. If you have clicked the "Deploy Dreamvast on Replit", click on "Fork repl"
  2. When you cloned your repl, click on "Secrets (Enviroment Variables)"
  3. At the enviroment area, scroll down and click on "Open raw editor"
  4. At the editor, copy this text (Remember to change what it asks for in the text.)
{
	"TOKEN": "put your bot token here",
	"LEAVE_TIMEOUT": "put your timeout value here (must be a number and 1000 = 1 seconds)",
	"PREFIX": "put your prefix here",
	"OWNER_ID": "put your id here (example: 898728768791789628)",
	"NODE_HOST": "lavalink.darrenofficial.com",
	"NODE_PORT": "80",
	"NODE_PASSWORD": "FreeLava",
	"SPOTIFY_ID": "put your spotify id here",
	"SPOTIFY_SECRET": "put your spotify secret here",
	"CLIENT_ID": "Put your client id here",
	"GUILD_ID": "Put your guild (server) id here",
	"TOPGG_TOKEN": "put your top.gg token here (required for autoplay command)",
	"MONGO_URI": "put your mongo uri here",
	"TOGGLE_SLASH": "(put enable or disable here to use or not use slash)",
	"EMBED_COLOR": " "#1591d7" (put your hex code color here with "")"
}
  1. After finish, click on save.
  2. Click on Run and enjoy the bot!

🔒 License protection

This project is licensed under GPL-3.0 license and protected by DMCA. So if you want to public your bot with this source code please remake and credit me (XeonE52680v3) and Adivise into your bot or I will request takedown your bot.