discord-music-bot/application.yml

40 lines
1.2 KiB
YAML

server:
port: 2333
address: 0.0.0.0
password: ${LAVALINK_PASSWORD:changeme} # Uses env var or defaults to 'changeme'
logging:
level:
root: INFO
lavalink: INFO
lavalink:
server:
sources:
youtube: false
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
http: true
local: false
resamplingQuality: LOW
bufferDurationMs: 400
frameBufferDurationMs: 5000
gc-warnings: true
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0" # Use the new YouTube source plugin
plugins:
youtube:
enabled: true # Whether this source can be used.
allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used.
allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded.
allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded.
# The clients to use for track loading. See below for a list of valid clients.
# Clients are queried in the order they are given (so the first client is queried first and so on...)
clients:
- MUSIC
- ANDROID_VR
- WEB
- WEBEMBEDDED