mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-01 20:42:50 +08:00
fix: check port availability before starting QQ Music API, update default port to 3200
Prevents EADDRINUSE crash that killed the entire app when port 3200 was still occupied from a previous run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
d84f23c2b2
commit
dc9d181783
2 files changed
+29
-11
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ export function getDefaultConfig(): BotConfig {
|
||||
commandPrefix: "!",
|
||||
commandAliases: { p: "play", s: "skip", n: "next" },
|
||||
neteaseApiPort: 3001,
|
||||
qqMusicApiPort: 3002,
|
||||
qqMusicApiPort: 3200,
|
||||
adminPassword: "",
|
||||
adminGroups: [],
|
||||
autoReturnDelay: 300,
|
||||
|
||||
Reference in new issue
Block a user