This commit is contained in:
NoLogicAlan committed 2026-09-11 03:57:06 +03:00
1 parent 3043a755ee
commit 7f1d076902
17 files changed
+944 -46

No files matched your search

+8
View File
@@ -46,6 +46,14 @@
"requestTimeout": 60000,
"Comment": "requestTimeout: ms before a NodeLink HTTP request is aborted. Default: 60000 (60s). Raise if you see 'NodeLink request timeout' errors. All audio sources (Spotify, Deezer, Apple Music, etc.) are resolved by NodeLink, so configure source credentials in nodelink.config.json, not here."
},
"bilibili": {
"enabled": true,
"bind": "127.0.0.1",
"port": 0,
"advertiseHost": null,
"cookie": null,
"Comment": "Bilibili video playback (%play https://www.bilibili.com/video/BV... , b23.tv short links and ?p= parts included). Bilibili's CDN only serves audio to requests with a bilibili Referer, so the bot runs a tiny local HTTP proxy that adds those headers and hands a signed URL to your NodeLink/Lavalink node. Defaults work when the node runs on the same host as the bot (nodelink.host = localhost). bind/port: what the proxy listens on (port 0 = pick a free port). advertiseHost: the host your audio node should use to reach the proxy — set it (e.g. your bot's LAN IP or Docker service name, and bind 0.0.0.0) only when the node runs on a different machine. cookie: optional browser cookie string (SESSDATA=...; buvid3=...) — unlocks higher audio quality and fixes 'Bilibili blocked this server's requests (HTTP 412)' on flagged hosting IPs; copy it from a logged-in browser's devtools."
},
"comment-radio": {
"message": "If you have radio stations you'd like to connect, add them to the array below. Radio stations must be rendered like following:",
"station": {