Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/appujet/lavamusic
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasB25 committed Sep 4, 2024
2 parents d51dccf + 6aad1c7 commit b437cfe
Show file tree
Hide file tree
Showing 28 changed files with 148 additions and 90 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BOT_ACTIVITY_TYPE= 0 # Activity type is a number from 0 to 5. See more here: htt
BOT_ACTIVITY=" Lavamusic" # Your bot activity.
DATABASE_URL= "" # Your database url (If you want to use sqlite, then you can leave it blank.).
AUTO_NODE=" false" # true for auto node. It is given from lavainfo-api (https://lavainfo-api.deno.dev).
SEARCH_ENGINE= "YouTubeMusic" # Search engine to be used when playing the song. You can use: YouTube, YouTubeMusic, SoundCloud, Spotify, Apple, Deezer, Yandex and (JioSaavn
SEARCH_ENGINE= "YouTubeMusic" # Search engine to be used when playing the song. You can use: YouTube, YouTubeMusic, SoundCloud, Spotify, Apple, Deezer, Yandex and JioSaavn
MAX_PLAYLIST_SIZE= "100" # Max playlist size.
MAX_QUEUE_SIZE= "100" # Max queue size.

Expand Down
6 changes: 6 additions & 0 deletions Lavalink/example.application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ plugins:
- ANDROID_LITE
- MEDIA_CONNECT
- IOS
# This secure your lavalink is working and playing music if you used this two things below.
#oauth:
# enabled: true # IF YOU RUN YOUR LAVALINK CHECK YOUR CONSOLE AND CLICK THE GOOGLE.COM/DEVICES LINK AND THERE IS A CODE THAT YOU NEED TO PUT IN TO THE GOOGLE AND USE A BURNER ACCOUNT OR ALT ACCOUNT THERE IS A POSSIBLE CHANGE YOU CAN GET BANNED FROM GOOGLE OR YOUTUBE SO JUST USE A BURNER ACCOUNT IN CASE.
#pot:
# token: "" # THIS REQUIRE INSTALLING https://github.com/iv-org/youtube-trusted-session-generator THIS IS A PYTHON FILE INSTALL THE REQUIREMENTS AND RUN PYTON INDEX FILE AND AFTER RUNNING YOU WILL RECIVE AND TOKEN AND VISTOR DATA AND PASTE IT BELOW.
# visitorData: ""
lavalink:
plugins:
- dependency: "com.github.appujet:jiosaavn-plugin:0.1.7"
Expand Down
7 changes: 5 additions & 2 deletions locales/Bulgarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Croatian.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Czech.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Danish.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Dutch.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/EnglishGB.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
4 changes: 3 additions & 1 deletion locales/EnglishUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Finnish.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Greek.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Hungarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
7 changes: 5 additions & 2 deletions locales/Italian.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lavalink": {
"description": "Shows the current Lavalink stats.",
"title": "Lavalink Stats",
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%"
"content": "Player: {players}\nPlaying Players: {playingPlayers}\nUptime: {uptime}\nCores: {cores} Core(s)\nMemory Usage: {used} / {reservable}\nSystem Load: {systemLoad}%\nLavalink Load: {lavalinkLoad}%",
"page_info": "Page {index} of {total}"
},
"invite": {
"description": "Get the bot invite link.",
Expand Down Expand Up @@ -585,7 +586,9 @@
"error": "An error occurred: `{error}`",
"no_voice_channel_queue": "You are not connected to a voice channel to queue songs.",
"no_permission_connect_speak": "I don't have enough permission to connect/speak in <#{channel}>.",
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs."
"different_voice_channel_queue": "You are not connected to <#{channel}> to queue songs.",
"vote_button": "Vote for me!",
"vote_message": "Wait! You need to vote on top.gg to use this command. Thanks."
},
"setupButton": {
"no_voice_channel_button": "You are not connected to a voice channel to use this button.",
Expand Down
Loading

0 comments on commit b437cfe

Please sign in to comment.