Skip to content

SoAbra/NanoSpace

 
 

Repository files navigation

📄 READ THIS

NEED USE WITH SLASH-COMMAND? HERE: >> NanoSpacePlus

📑 Short Feature

  • Music System
  • Playlists System
  • Premium System
  • Custom Prefix
  • Multi Language
  • Custom Filters
  • Easy to use

🎶 Support Source

  • Youtube
  • SoundCloud
  • Spotify
  • Deezer
  • Facebook
  • Twitch
  • Apple
  • Bandcamp
  • Vimeo
  • Https (Radio)

🚨 Have a Problem

✈ Join Discord: NanoSpace ♪♪ mention me in chat #general or #javascript and ask problem okay! 👌

📎 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/Adivise/NanoSpace
cd NanoSpace
npm install
📄 Configuration [CLICK ME]

📄 Configuration

OPTION 1️⃣

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

# Bot
TOKEN=REPLACE_HERE
PREFIX=#
NP_REALTIME=true
LEAVE_TIMEOUT=120000
LANGUAGE=en
EMBED_COLOR=#000001

# Devloper
OWNER_ID=REPLACE_HERE

# Database
MONGO_URI=mongodb:https://127.0.0.1:27017/nanospace
LIMIT_TRACK=100
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 if you have a lot of servers
    LEAVE_TIMEOUT: parseInt(process.env.LEAVE_TIMEOUT || "120000"), // leave timeout default "120000" = 2 minutes // 1000 = 1 seconds

    LANGUAGE: {
      defaultLocale: process.env.LANGUAGE || "en", // "en" = default language
      directory: resolve("languages"), // <= location of language
    },

    DEV_ID: [], // if you want to use command bot only, you can put your id here example: ["123456789", "123456789"]

    MONGO_URI: process.env.MONGO_URI || "YOUR_MONGO_URI", // your mongo uri
    LIMIT_TRACK: parseInt(process.env.LIMIT_TRACK || "100"),  //<= dafault is "100" // limit track in playlist
    LIMIT_PLAYLIST: parseInt(process.env.LIMIT_PLAYLIST || "10"), //<= default is "10" // limit can create playlist

    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]

🔩 Features & Commands

Note: The default prefix is '#'

🎶 Music Commands!

  • Play (#play, #p, #pplay [song/url])
  • Nowplaying (#nowplaying, #np, #now)
  • Queue (#queue )
  • Repeat (#loop (current, all), #repeat (current, all))
  • Loopqueue (#loopall, #lq, repeatall)
  • Shuffle (#shuffle, mix)
  • Volume control (#vol, #v [10 - 100])
  • Pause (#pause, #pa)
  • Resume (#resume, #r)
  • Skip (#skip, #s)
  • Skipto (#skipto, #st [position])
  • Clear (#clear)
  • Join (#join, #summon)
  • Leave (#leave, #dc, #lev, #stop)
  • Forward (#forward )
  • Seek (#seek )
  • Rewind (#rewind )
  • Replay (#replay)
  • Search (#search [songname])
  • 247 (#247)
  • Previous (#previous)
  • Autoplay (#autoplay)

Filter Commands!

  • Bass (#bass)
  • Superbass (#superbass, #sb)
  • Pop (#pop)
  • Treblebass (#treblebass, #tb)
  • Soft (#soft)
  • Earrape (#earrape, #ear)
  • Equalizer (#eq )
  • Speed (#speed )
  • Picth (#pitch )
  • Vaporwave (#vaporwave)
  • Nightcore (#nightcore)
  • Bassboost (#bassboost, #bb [-10 - 10])
  • Rate (#rate)
  • Reset (#reset)
  • 3d (#3d)
  • China (#china)
  • Dance (#dance)
  • Chipmunk (#chipmunk)
  • Darthvader (#darthvader)
  • DoubleTime (#doubletime)
  • SlowMotion (#slowmotion)
  • Tremolo (#tremolo)
  • Vibrate (#vibrate)
  • Vibrato (#vibrato)
  • Daycore (#daycore)
  • Television (#Television)
  • Jazz (#jazz)

📦 Playlist Commands!

  • Create (#create [name])
  • Add (#add [name] [link])
  • Private (#private [name])
  • Public (#public [name])
  • Delete (#delete [name])
  • Import (#import [name])
  • Detail (#detail [name])
  • Remove (#remove [name] [position])
  • Savequeu (#savequeue [name])
  • View (#view)

💎 Premium Commands!

  • Premium (#premium [plan] [user id])
  • Generate (#generate [plan] [amount])
  • Redeem (#redeem [code])

📑 Utilities Commands!

  • Restart (#restart, #stopbot)
  • DeploySlash (#deploy, #dps) <= only one guild
  • ClearSlash (#cdps) <= work only deployslash
  • Prefix (#prefix [new prefix])
  • Language (#language [lang]) // Example: en, hi
  • DeploySlashGlobal (#deployglobal, #dpsg) <= want change need wait 1 - 2 hrs.
  • Help (#help, #halp [command])

🖼 Picture [CLICK ME]

🖼 Picture & ScreenShots

see see see see see

👏 Credits [CLICK ME]

👏 THANK

About

Erela.js & Discord.js@v13 (PREFIX COMMAND!)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%