Compare commits
No commits in common. "main" and "mc2" have entirely different histories.
|
@ -0,0 +1,20 @@
|
|||
# Bot
|
||||
TOKEN=ODg5ODgwODAwNjU1NDc0NzY4.GS9Zbz.59_jIDCwGb3uW4gG7vGMd5nzaLOdpO6bbSwVJA
|
||||
PREFIX=-
|
||||
NP_REALTIME=true
|
||||
LEAVE_TIMEOUT=500000
|
||||
LANGUAGE=en
|
||||
EMBED_COLOR=#303236
|
||||
|
||||
# Devloper
|
||||
OWNER_ID=813561253175361558
|
||||
|
||||
# Database
|
||||
MONGO_URI=mongodb+srv://laffey:55115511@discordbot.wec7s.mongodb.net/dmb01?retryWrites=true&w=majority
|
||||
LIMIT_TRACK=50000
|
||||
LIMIT_PLAYLIST=5000
|
||||
|
||||
# Lavalink
|
||||
NODE_HOST=connect.freelavalink.ga
|
||||
NODE_PORT=2000
|
||||
NODE_PASSWORD=www.freelavalink.ga
|
|
@ -0,0 +1,2 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Adivise
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -0,0 +1,245 @@
|
|||
## 📸 Tutorial
|
||||
|
||||
- [x] How to run on Replit? [Click Here](https://youtu.be/PvWHuYA8kpU) (When have new release!, Please refork the project!)
|
||||
- [x] How to run on your own? [Coming Next...]
|
||||
|
||||
## ☔ Fork
|
||||
|
||||
[![Run on Repl.it](https://repl.it/badge/github/Adivise/NanoSpace)](https://repl.it/github/Adivise/NanoSpace)
|
||||
|
||||
## 📑 Short Feature
|
||||
- [x] Music
|
||||
- [x] Playlists System
|
||||
- [x] Premium System
|
||||
- [x] Custom Prefix
|
||||
- [x] Multi Language (98.9%) (can set per guild!)
|
||||
- [x] SlashCommand
|
||||
- [x] Custom Filters
|
||||
- [x] Easy to use
|
||||
|
||||
## 🎶 Support Source
|
||||
- [x] Youtube
|
||||
- [x] SoundCloud
|
||||
- [x] Spotify
|
||||
- [x] Deezer
|
||||
- [x] Facebook
|
||||
- [x] Twitch
|
||||
- [x] Apple
|
||||
- [x] Bandcamp
|
||||
- [x] Vimeo
|
||||
- [x] Https (Radio)
|
||||
|
||||
## 🚨 Have a Problem
|
||||
|
||||
✈ Join Discord: [NanoSpace ♪♪](https://discord.gg/SNG3dh3MbR)
|
||||
mention me in chat #general or #javascript and ask problem okay! 👌
|
||||
|
||||
<details><summary>📎 Requirements [CLICK ME]</summary>
|
||||
<p>
|
||||
|
||||
## 📎 Requirements
|
||||
|
||||
1. Node.js Version 16.6.0+ **[Download](https://nodejs.org/en/download/)**
|
||||
2. Discord Bot Token **[Guide](https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot)**
|
||||
3. LavaLink **[Guide](https://github.com/freyacodes/lavalink)** (i use this development version [Download](https://ci.fredboat.com/repository/downloadAll/Lavalink_Build/9311:id/artifacts.zip) )
|
||||
4. MongoDB **[Download](https://www.mongodb.com/try/download/community)** (Download & install = Finish!)
|
||||
|
||||
## 🛑 Super Requirements
|
||||
|
||||
Java 11-13 **[Download JDK13](http://www.mediafire.com/file/m6gk7aoq96db8g0/file)** (i use this version) for LAVALINK!
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
## 📚 Installation
|
||||
|
||||
```
|
||||
git clone https://github.com/Adivise/NanoSpace
|
||||
cd NanoSpace
|
||||
npm install
|
||||
```
|
||||
|
||||
<details><summary>📄 Configuration [CLICK ME]</summary>
|
||||
<p>
|
||||
|
||||
## 📄 Configuration
|
||||
|
||||
> **OPTION 1️⃣**
|
||||
|
||||
Copy or Rename `.env.example` to `.env` and fill out the values:
|
||||
|
||||
```.env
|
||||
# Bot
|
||||
TOKEN=REPLACE_HERE
|
||||
PREFIX=#
|
||||
NP_REALTIME=true
|
||||
LEAVE_TIMEOUT=120000
|
||||
LANGUAGE=en
|
||||
EMBED_COLOR=#303236
|
||||
|
||||
# Devloper
|
||||
OWNER_ID=REPLACE_HERE
|
||||
|
||||
# Database
|
||||
MONGO_URI=mongodb://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:
|
||||
|
||||
```js
|
||||
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 || "#303236", //<= default is "#303236"
|
||||
|
||||
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`
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details><summary>🔩 Features & Commands [CLICK ME]</summary>
|
||||
<p>
|
||||
|
||||
## 🔩 Features & Commands
|
||||
|
||||
> Note: The default prefix is '#'
|
||||
|
||||
🎶 **Music Commands!**
|
||||
|
||||
- Play (#play, #p, #pplay [song/url])
|
||||
- Nowplaying (#nowplaying, #np, #now)
|
||||
- Queue (#queue <page>)
|
||||
- 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 <second>)
|
||||
- Seek (#seek <second>)
|
||||
- Rewind (#rewind <second>)
|
||||
- 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 <custom>)
|
||||
- Speed (#speed <amount>)
|
||||
- Picth (#pitch <amount>)
|
||||
- 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)
|
||||
|
||||
📦 **Playlist Commands!**
|
||||
- Create (#create [link] [name]) <= Work all link? use same name to add! went your have!
|
||||
- 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])
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
|
||||
<details><summary>🖼 Picture [CLICK ME]</summary>
|
||||
<p>
|
||||
|
||||
## 🖼 Picture & ScreenShots
|
||||
|
||||
![see](https://i.imgur.com/xUurYDJ.png)
|
||||
![see](https://i.imgur.com/hxSCmeP.png)
|
||||
![see](https://i.imgur.com/P3GNCbQ.png)
|
||||
![see](https://i.imgur.com/9Plhzar.png)
|
||||
![see](https://i.imgur.com/k2Sp8zo.png)
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details><summary>👏 Credits [CLICK ME]</summary>
|
||||
<p>
|
||||
|
||||
## 👏 THANK
|
||||
- [lavamusic](https://github.com/brblacky/lavamusic)
|
||||
- [EarTensifier](https://github.com/Tetracyl/EarTensifier)
|
||||
|
||||
</p>
|
||||
</details>
|
|
@ -0,0 +1,9 @@
|
|||
@echo off
|
||||
|
||||
title NanoSpace
|
||||
|
||||
:StartBot
|
||||
|
||||
node --no-warnings index.js
|
||||
|
||||
goto StartBot
|
Before Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 308 KiB |
Before Width: | Height: | Size: 359 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 149 KiB |
Before Width: | Height: | Size: 237 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 366 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 430 KiB |
Before Width: | Height: | Size: 313 KiB |
Before Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 163 KiB |
Before Width: | Height: | Size: 272 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 129 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 963 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 1007 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 299 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 649 KiB |
Before Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 2.0 MiB |