fix(discord): restore gateway reconnect maxAttempts to 50

This commit is contained in:
ludd50155
2026-02-12 10:05:57 +08:00
committed by Shadow
parent 5f0debdfb2
commit e55431bf84

View File

@@ -63,7 +63,7 @@ function createDiscordGatewayPlugin(params: {
const intents = resolveDiscordGatewayIntents(params.discordConfig?.intents);
const proxy = params.discordConfig?.proxy?.trim();
const options = {
reconnect: { maxAttempts: Number.POSITIVE_INFINITY },
reconnect: { maxAttempts: 50 },
intents,
autoInteractions: true,
};