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

Overview

📄 READ THIS

NEED USE WITH PREFIX? HERE: >> NanoSpace

📑 Short Feature

  • Music System
  • Playlists System
  • Premium System
  • Setup Request System
  • Multi Language
  • SlashCommand
  • ContextMenus
  • 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/Adivise/NanoSpacePlus
cd NanoSpacePlus
npm install
📄 Configuration [CLICK ME]

📄 Configuration

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/nanospace
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 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 || "50"),  //<= dafault is "50" // 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 (/music play [song/url])
  • Nowplaying (/music nowplaying)
  • Queue (/music queue [page])
  • Repeat (/music loop type [current, all])
  • Loopqueue (/music loopall)
  • Shuffle (/music shuffle)
  • Volume control (/music volume [10 - 100])
  • Pause (/music pause)
  • Resume (/music resume)
  • Skip (/music skip)
  • Skipto (/music skipto [position])
  • Clear (/musicclear)
  • Join (/music join)
  • Leave (/music leave)
  • Forward (/music forward [second])
  • Seek (/music seek [second])
  • Rewind (/music rewind [second])
  • Replay (/music replay)
  • Search (/music search [songname])
  • 247 (/music 247)
  • Previous (/music previous)
  • Autoplay (/music autoplay)

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)

📦 Playlist Commands!

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

💎 Premium Commands!

  • Premium (/premium premium [plan] [user id])
  • Generate (/premium generate [plan] [amount]) // (OWNER ONLY)
  • Redeem (/premium redeem [code])
  • Setup (/premium setup type [create/delete])

📑 Utilities Commands!

  • Restart (/utilitie restart) // (OWNER ONLY)
  • Language (/utilitie language input: [language] ) // Example: en, th

Comments
  • Update loadContent.js

    Update loadContent.js

    Hey, İ have encountered an big bug with setup system due to which bot deletes the setup message in the server… so i have made some changes to fix that issue. Feel free to contact me on discord :- ❀SUNSHİNE❀#1359[https://discord.com/users/890146474158075915]

    opened by TEDDY6969 7
  • issue with the setup channel still exist

    issue with the setup channel still exist

    after the latest release, it seem the bug on setup channel still exist and doest fixed. i've tried to fixed but another bug come after. So the setup channel messate after the setup command execute will suddently dissapear after 3 or 4 secs. Also, can u make the bot default source is spotify instead of youtube?

    opened by adh319 5
  • on play command

    on play command

    SyntaxError: Unexpected token in JSON at position 0 at JSON.parse () at Y.json (/mnt/privatexd/node_modules/petitio/dist/index.js:30:574) at ke.json (/mnt/privatexd/node_modules/petitio/dist/index.js:30:2499) at processTicksAndRejections (node:internal/process/task_queues:96:5)

    opened by Dectectable 2
  • i found a error how can we fix it

    i found a error how can we fix it

    Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted. at WebSocketManager.createShards (/home/runner/NanoSpacePlus/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async MainClient.login (/home/runner/NanoSpacePlus/node_modules/discord.js/src/client/Client.js:232:7) { code: 'DisallowedIntents' } MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 at NativeConnection.Connection.openUri (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/connection.js:847:32) at /home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:351:10 at /home/runner/NanoSpacePlus/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5 at new Promise () at promiseOrCallback (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10) at Mongoose._promiseOrCallback (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:1149:10) at Mongoose.connect (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:350:20) at module.exports (/home/runner/NanoSpacePlus/handlers/Database/loadDatabase.js:6:24) at module.exports (/home/runner/NanoSpacePlus/handlers/loadDatabase.js:4:42) at /home/runner/NanoSpacePlus/nanospace.js:53:103 at Array.forEach () at new MainClient (/home/runner/NanoSpacePlus/nanospace.js:53:64) at Object. (/home/runner/NanoSpacePlus/index.js:2:16) at Module._compile (node:internal/modules/cjs/loader:1099:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:975:32) { reason: TopologyDescription { type: 'Single', setName: null, maxSetVersion: null, maxElectionId: null, servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] }, stale: false, compatible: true, compatibilityError: null, logicalSessionTimeoutMinutes: null, heartbeatFrequencyMS: 10000, localThresholdMS: 15, commonWireVersion: null } }

    opened by Hamburgerboy15 1
  • FAQ

    FAQ

    FAQ | (MOST) QUESTIONS! :question:

    1. Simple: Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. Answer: https://gist.github.com/Adivise/ed4425f52cad9fd29614e3e021e3e297

    2. Simple: MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 Answer: https://gist.github.com/Adivise/698d17a403c58d134354df3dddbc9032

    3. Simple: Cannot see Application Commands (Slash Commands!) Answer: https://github.com/Adivise/SpaceSocial/issues/1

    4. Simple: RangeError: No available nodes. Answer: Change to anther nodes (Lavalink) Server

    5. Simple: Error: Cannot find module 'node:events' Answer: Go download node.js last version!

    6. Simple: SyntaxError: Unexpected token in JSON at position 0 Answer: https://github.com/Adivise/NanoSpace/issues/29

    opened by Adivise 0
Releases(v3.0.0)
  • v3.0.0(Nov 12, 2022)

    Update List

    ADD

    • [x] Add Band New Profile Commands!!
    • Listening time
    • Played Songs
    • Commands Used
    • Played History (add later!) already have in database!
    • [x] Add new plan to generate (lifetime)
    • [x] Add Fallback Autoplay Commands
    • [x] Add Fallback thumbnail (trackStart, Queue)
    • [x] Add Fallback NowPlaying Commands
    • [x] Add AutoComplete (All Playlist Commands!)
    • [x] Add Chart Commands with Canvas
    • [x] Add SaveCurrent.js

    Rewrite

    • [x] Rewrite InteractionCreate.js & (All Commands!)
    • [x] Rewrite Database Handlers!

    Change

    • [x] Change Name Useable.js to CommandStats.js
    • [x] Change Folder Charts.js to Music/Charts.js
    • [x] Change 247.js to TwentyFourSeven.js
    • [x] Change Loopall.js to LoopQueue.js
    • [x] Change Database ETC++

    Fixed

    • [x] Fixed Nowplaying Commands (error views)
    • [x] Fixed Autoplay Commands (error track add)

    Remove

    • [x] Remove delay in package.json
    Source code(tar.gz)
    Source code(zip)
  • v2.3.0(Nov 6, 2022)

    Update List

    Add cn (China Language) Add Vps.js Add LavaLink.js Add Charts.js Add Useable.js

    Change Restart.js to Shutdown.js Change es-ES to es (Languages) Change Folder Utilities to Utility

    Fixed Random Setup Message Disappear Fixed Autoplay.js (Support Only Youtube!)

    Big Change

    I remove all erela.js plugins and use Erela.js this version better-erela.js

    Source code(tar.gz)
    Source code(zip)
  • v2.2.1(Nov 1, 2022)

  • v2.2.0(Oct 8, 2022)

  • v2.1.0(Sep 27, 2022)

    Update List

    • [x] Fixed trackStart.js
    • [x] Fixed channelDelete.js
    • [x] Add AutoComplete (Play, Playskip, Playtop)
    • [x] Add Config Search Default for AutoComplete
    • [x] Fixed PlaySkip.js (Update Not ClearQueue Now!)
    • [x] Fixed SearchSkip.js (Same PlaySkip.js)
    • [x] Add PlayTop.js (NEW!)
    • [x] Add SearchTop.js (NEW!)
    • [x] Move Queue & NP Command to (Base Slash) Reason Sub Command [Max 25]
    Source code(tar.gz)
    Source code(zip)
  • v2.0.1(Sep 21, 2022)

    Update List

    • [x] Update Remake Handlers!
    • [x] Add More Database Handlers! ( Lang, Premium)
    • [x] Add Move.js
    • [x] Add PlaySkip.js
    • [x] Add Remove.js (Music)
    • [x] Add SearchSkip.js
    • [x] Add Remove.js (Premium)
    • [x] Fixed Button Show wrong!
    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Sep 10, 2022)

    Update List

    • [x] Fixed voiceStateUpdate.js
    • [x] Fixed Playlist.js (Import CMD)
    • [x] Fixed Rich Presence!
    • [x] Change PermissionBitsField to djs@v14
    • [x] Add Context Menus (Back)
    Source code(tar.gz)
    Source code(zip)
Owner
Nanotect.
*Stylish.#4078
Nanotect.
A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands & Buttons. Make Giveaways and…

Giveaway - Discord Bot A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands. Make Giveaways and more..! Explore the d

Chethan Yadav 27 Dec 5, 2022
A Discord.js Music Bot, which connects via Lavalink and erela.js

Discord.js Lavalink Music Bot using erela.js A Advance Discord Music Bot Like Hydra Erela.js docs Note this Discord Bot Repository is the Same as for

ᴋᴀʙɪʀ々ꜱɪɴɢʜ 47 Dec 9, 2022
JavaScript / TypeScript templates for Discord.js v13, Slash Commands only!

discord.js-v13-template Slash Command Template Command Handler Events Handler Commands Example JavaScript Template TypeScript Template I will be const

null 10 Nov 15, 2022
Discord.js V13 Slash Commands, Events , Button Handler

Discord-js-v13-handler An advanced discord.js v13 command/events handler. Environment Variables To run this project, you will need to add the followin

Chethan Yadav 14 Oct 14, 2022
A Advance Music Bot Based on erela.js

WOLF MUSIC WOLF MUSIC is an advance music bot . Report Bug · Request Feature ?? Features Music 24/7 Dj Custom Playlist (global) SlashCommand Custom pr

Coders 3 May 22, 2022
Discord.js V14 Slash-Command and Context-Menu Handler. Most efficient and advanced Handler out there!

Base discord.js v14 Command Handler Written by Tomato6966 Made for Deezcord Features ✔ Slash Commands ✔ Sub-Slash Commands ✔ Group-Sub-Slash Commands

Tomato6966 9 Dec 21, 2022
V13 kullanılarak yapılmış slash destekli guard botu. Basit bir şekilde yapılıp geliştirmesi size bırakılmıştır.

V13 Slash Guard V13 kullanılarak yapılmış slash destekli guard botu. Basit bir şekilde yapılıp geliştirmesi size bırakılmıştır. Config dosyasını doldu

Aris Lesnar 29 Dec 10, 2022
v13 butonlu + mongodb'li register botudur. Sadece Merakımdan V13 uğraştım, devamı geleceğini düşünmüyorum. İstek üzerine yapılmıştır

Testleri yapılmıştır. Hiçbir hatası bulunmamaktadır. Starlarınızı bekliyorum. Yapmanız gereken adımlar settings.json dosyasının içindeki idleri doldur

null 1 Dec 20, 2022
Yet another advanced djs slash command handler made by dano with ❤️

Advanced djs slash command handler Yet another advanced djs slash command handler made by dano with ❤️ Ultimate, Efficient, Slash command handler for

null 5 Nov 7, 2022
Discord.JTS - Slash Commands for Discord.JS 13 using Typescript

Installation Requirements and Recommendations: Node.js Git Visual Studo Code An empty test Discord server Step 0: Login into Discord in the Browser Go

null 1 Jan 13, 2022
Um bot discord usando Discord.js v14 (slash commands)

ANTES DE TUDO LEMBRE-SE: COPIAR CÓDIGOS NÃO É PROGRAMAR! USE APENAS PARA FINS EDUCATIVOS E QUE APRENDA COM ESSE REPOSITÓRIO!!! Descrição Fiz esse repo

Yurii 8 Dec 20, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
OptiBOT - My discord.js V13 discord bot.

OptiBOT Just a discord.js v13 bot for my discord server. if you plan to use this bot for your server, dont. This i made this bot just for learning js

PrecisionEXTP 1 Jan 3, 2022
A unofficial discord.js fork for creating selfbots [Based on discord.js v13]

About discord.js-selfbot-v13 is a Node.js module that allows user accounts to interact with the Discord API v9. I don't take any responsibility for bl

March 7th 239 Jan 4, 2023
Discord.js Music Bot with buttons and slash support!

Music Bot Vote for us! (Please) How to use? Download the repo, create a .env file, and add your token into it. You need to change guildOnly to your gu

Garlic Team 59 Nov 24, 2022
A Simple Discord.js Slash Commands For You <3

Simple Discord.js Slash Commands For You NPM Install You Need : Node.js v16+ Discord.js Dotenv Mongoose Visual Studio Code ( Ye Code Editor K Man Az V

null 15 Jun 2, 2022
SlashCommands-Bot - An advanced discord bot, with Slash Commands !

SlashCommands Bot Github post is a discord bot handler with slashcommands in v13 How to install ? You need to have Node.JS 16+ git clone https://githu

null 9 Nov 16, 2022
Typescript Discord Bot Supporting Slash Commands.

Typescript Discord Bot Supporting Slash Commands.

Andrew Von Stieglitz 1 Jan 22, 2022
Umut Bayraktar YouTube Özel Discord.js v13 Uyumlu Başvuru Botu Altyapısı, Glitch ve PC Uyumludur!

Discord.js v13 Başvuru Botu Umut Bayraktar Youtube Özel Discord.js v13 Başvuru Botu Altyapısı. Glitch.com'da Kullanacak İseniz .env İsimli Dosyaya Bot

Umut Bayraktar 6 May 31, 2022