A simple yet powerful Discord music bot using the Lavalink client (Shoukaku & Kazagumo) and Discord.js v14.
- ☑️ Use Shoukaku & Kazagumo
- ☑️ Supports Lavalink v4 only!
- ☑️ Slash commands
- ☑️ Prefix commands [Dev-only commands]
- ☑️ Clean UI
- ☑️ Better performance
- ☑️ Easy to use
- ☑️ And more...!
- ☑️ Youtube
- ☑️ Youtube Music
- ☑️ SoundCloud
- ☑️ Apple Music (LavaSrc Plugin)
- ☑️ Deezer (LavaSrc Plugin)
- ☑️ Spotify (LavaSrc Plugin)
- ☑️ And more...!
- Discord Bot Token [Guide]
- Node.js
v18
or higher - MongoDB
v5.x
or higher [For local database] - Lavalink [Guide]
- Java
v18
or higher [For Lavalink]
1.
Clone this repository.
git clone https://github.com/adh319/Aurox.git
2.
Open the Aurox folder then run
npm install
3.
Rename .env.example
to .env
and fill out these variables according to yours.
#########################################
# ALL THE DETAILS BELOW SHOULD BE FILLED #
#########################################
# GENERAL DETAILS
TOKEN = # Your bot token
PREFIX = ! # Prefix of the bot
OWNER = # Your Discord user ID
EMBED_COLOR = 5865F2 # Embed color, example: FFFFFF (without #)
LEAVE_TIMEOUT = 60000 # Set leave timeout when bot was alone or not playing
MIN_VOLUME = 1 # Minimum volume
MAX_VOLUME = 100 # Maximum volume
MONGO_URI = # Your MongoDB URI
GENIUS_API_KEY = # Your Genius API key
SUPPORT_SERVER_URL = https://discord.gg/kNdSkHchzH # Support server url
# KAZAGUMO DETAILS
SPOTIFY_CLIENT_ID = # Your Spotify client ID
SPOTIFY_CLIENT_SECRET = # Your Spotify client secret
DEFAULT_SOURCE = ytsearch: # Default source Available source: ytsearch:, ytmsearch:, scsearch: | These are the default sources if you dont have lavasrc plugin installed
DEFAULT_YOUTUBE_THUMBNAIL = maxresdefault
LAVASRC = false # Set to true if you have lavasrc plugin installed, so you can use spotify (spsearch:), applemusic (amsearch:), and others as source.
LAVASRC_SOURCE = spsearch: # This will be used when LAVASRC is true
4.
Go to ./src/settings/config.js
, open the file and fill out these config options value.
// line 8
dev: [" "], // your Discord user Id & developer user Id. Seperate multiple Ids with a comma (,)
// Line 50
nodes: [
{
name: "Aurox",
url: "localhost:2333",
auth: "youshallnotpass",
secure: parseBoolean("false"),
},
],
5.
Go to ./src/settings/emoji.js
, open the file and fill out the emoji variables.
6.
Start the bot by running.
npm start
Below is a list of Discord bots that are using this source code. If you want your bots to be listed here, edit this table
and make a pull request with the following format:
No. | Bot Name | Invite Link | Support Server |
---|---|---|---|
1 | Jive | Invite Link | Jive Corner |
2 | Musical | Invite Link | Support Server |
3 | |||
4 |
Distributed under the MIT License
. You are free to use, and modify the code. However, you must provide attribution by linking back to the original repository and include this copyright notice:
© 2024 adh319@github. This project is available under the MIT License.You must include proper attribution by linking to the original GitHub repository: https://github.com/adh319/Aurox.