© Azur Lane | First Project of Weeb-Devs
✓ High quality
✓ Support filters
✓ Auto resume
✓ Stable
✓ Suport 8 music sources
✓ Feature-rich
✓ per guild prefix configuration
✓ and of course, adorable shipgirl
- 1.0.0 M (latest) Release | Change Log
- 0.1.5 Release | Change Log
- 0.1.4 Release | Change Log
- 0.1.3 Release | Change Log
- 0.1.2 Release | Change Log
- 0.1.1 Release | Change Log
- 0.1.0 Release | Change Log
You need dev lavalink version to use our filters. You can get it by
clicking Here
and then, click on Lavalink.jar
files How to setup
All required OS and other for lavalink server available here
- nodejs v14.x.x or higher
because we're using optional chaining method
- discordjs v12.x.x or higher
- Discord bot's
token
You should know why you need this or you won't go to this repo
Get or create bot here | How to get token - Mongodb
URI
for prefix and auto resume feature. It won't work if you enter invalid or no URI
MongoDB - Your ID
for eval command. It's dangerous if eval accessible to everyone
- Spotify client ID
for spotify support
Click here to get - Spotify client Secret
for spotify support
Click here to get - Ksoft API
Key
not required, depend on your choosen lyrics engine
Click here to get - Genius API Key
not required, depend on your choosen lyrics engine
Click here to get - Lavalink server
- Host
url to your lavalink server
- Password
your lavalink's password. Default is youshallnotpass
- Port
port for your lavalink server. Default is 80
- Identifier
Name for your node. Default to its url
- Retry amount
retry amount when the node encounted error. Default is 3
- Retry delay
delay for each retry. Default is 1000 (1s)
- Secure
wether your node use ssl connection. Default is false
- Host
-
youtube
*
-
bandcamp
*
-
soundcloud
*
-
twitch
*
-
vimeo
*
-
http (you can use radio for it)
*
-
spotify
*
-
deezer
*
Note:
*
is depend on your lavalink's configuration
- First, change
config.json.example
file's name intoconfig.json
, and fill it
{
"TOKEN": "Your bot's token",
"PREFIX": "?",
"OWNERS": [
"Your id, can be more than 1"
],
"MONGODB_URI": "For database",
"SPOTIFY_CLIENT_ID": "For spotify support",
"SPOTIFY_CLIENT_SECRET": "For spotify support",
"KSOFT_API_KEY": "For the lyrics. It depend on your choice",
"GENIUS_API_KEY": "For the lyrics. It depend on your choice",
"LYRICS_ENGINE": "There are 3 options. ksoft ; genius ; google . Google don't need any API",
"NODES": [
{
"HOST": "Your node's host",
"PASSWORD": "Your node's password",
"PORT": 80,
"IDENTIFIER": "This node's identifier, it's up to you",
"RETRY_AMOUNT": 3,
"RETRY_DELAY": 1000,
"SECURE": false
}
],
"AUTO_RESUME_DELAY": 1500,
"DEBUG": true,
"LOG_USAGE": false
}
- Go to your console, and type
cd "path to laffey's file"
and install all dependencies by typingnpm i
- You're ready to go, use
node .
ornpm start
to start the bot
-
Create a
.env
file in the root directory of your project. -
Copy the text below and paste it in .env file and change the value with required data.
⚠️ NODES in .env must be a STRINGIFIED array of node objects, or you can use normal array for nodes in config.json⚠️ TOKEN=TOKEN_HERE PREFIX=? OWNERS=123456789,987654321 MONGODB_URI=mongodb+srv://blabla SPOTIFY_CLIENT_ID=123456 SPOTIFY_CLIENT_SECRET=ABCDEFG KSOFT_API_KEY=1234 GENIUS_API_KEY=1234 LYRICS_ENGINE=google AUTO_RESUME_DELAY=2000 NODES=[{"HOST":"Your node's host","PASSWORD":"Your node's password","PORT":80,"IDENTIFIER":"This node's identifier, it's up to you","RETRY_AMOUNT":3,"RETRY_DELAY":1000,"SECURE":false}] DEBUG=true LOG_USAGE=false
{ "NODES": [ { "HOST": "Your node's host", "PASSWORD": "Your node's password", "PORT": 80, "IDENTIFIER": "This node's identifier, it's up to you", "RETRY_AMOUNT": 3, "RETRY_DELAY": 1000, "SECURE": false } ] }
-
Go to your console, and type
cd "path to laffey's file"
and install all dependencies by typingnpm i
-
You're ready to go, use
node .
ornpm start
to start the bot
Note:DEBUG
is to see more data when your bot starting and other warningLOG_USAGE
is to log all command usage by user. Default to false because it'll be annoyingAUTO_RESUME_DELAY
is how many ms do you want to add a delay between guild on auto resume
-
music
-
play
play music from 7 music sources
-aliases: p
-example:?play https://www.youtube.com/playlist?list=PL0jh16Vp3NzVjEjKbZ3pV4f15Jze5EANV
-
forceplay
same like play, but this will force the player to play specific song
-aliases: fp
-example:?forceplay https://www.youtube.com/watch?v=dQw4w9WgXcQ
-
loop
toggle track/queue loop
-aliases: l
-example:?loop
-
lyrics
Get specific/current playing song's lyrics
-aliases: ly
-example:?lyrics [ song's title ]
-
volume
Set player's volume. 0-1000
-aliases: v
-example:?volume 1000
-
nowplaying
see current playing song
-aliases: np
-example:?nowplaying
-
move
Move song
-aliases: -
-example:?move 2
|?move 4 3
-
queue
check all songs inside queue
-aliases: q
-example:?queue
-
skip
skip the song
-aliases: s
-example:?skip
-
skipto
skip to specific song
-aliases: st, jump, jumpto
-example:?skipto 3
-
join
Join a voice channel
-aliases: -
-example:?join
-
leave
Leave a voice channel
-aliases: stop
-example:?leave
-
shuffle
Shuffle queue
-aliases: -
-example:?shuffle
-
search
search song
-aliases: -
-example:?search never gonna give you up
-
clear
Clear the queue
-aliases: -
-example:?clear
-
bassboost
Set bassboost filter for the player
-aliases: bb
-example:?bassboost [reset | 1 - 2000]
-
24h
whether the bot to leave vc when there's no user or not
-aliases: -
-example:?24h
-
vaporwave
Set vaporwave filter for the player
-aliases: -
-example:?vaporwave
-
nightcore
Set nightcore filter for the player
-aliases: nc
-example:?nightcore
-
8d
Set 8d filter for the player
-aliases: -
-example:?8d
-
speed
Set speed for the player
-aliases: -
-example:?speed [reset | 0-5]
-
pitch
Set pitch for the player
-aliases: -
-example:?pitch [reset | 0-5]
-
reset
Reset the filters
-aliases: -
-example:?reset
-
filters
Get all filters status
-aliases: -
-example:?filters
-
remove
Remove song from queue
-aliases: -
-example:?remove 3
-
previous
Play song that played previously
-aliases: pr
-example:?previous
-
resume
Resume the player
-aliases: r
-example:?resume
-
pause
Pause the player
-aliases: -
-example:?pause
-
-
config
- prefix
get, set, or reset prefix on guild
-aliases: -
-example:?prefix set !
|?prefix reset
|?prefix get
- prefix
-
misc
-
ping
get bot's ping
-aliases: -
-example:?ping
-
help
Show list of available commands
-aliases: h
-example:?help play
-
eval
to evaluate code
-aliases: -
-example:?eval message.channel.send('hello')
-
about
Give information about this project
-aliases: -
-example:?about
-
stats
Give bot's stats
-aliases: -
-example:?stats adv
-
node
Give lavalink's stats
-aliases: -
-example:?node
-
invite
Invite your bot to another guild
-aliases: -
-example:?invite
-
Created at: Friday, 2 April 2021
Published at: Sunday, 11 April 2021
Laffey is Weeb-Devs 's first project. Was created
by our first member aka owner, Takiyo. He really wants to make his first open source project ever. Because he wants more
for coding experience. In this project, he was challenged to make project with less bugs. Hope you enjoy using Laffey!