mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-29 07:01:40 +03:00
fix(discord): restore gateway reconnect maxAttempts to 50
This commit is contained in:
@@ -63,7 +63,7 @@ function createDiscordGatewayPlugin(params: {
|
|||||||
const intents = resolveDiscordGatewayIntents(params.discordConfig?.intents);
|
const intents = resolveDiscordGatewayIntents(params.discordConfig?.intents);
|
||||||
const proxy = params.discordConfig?.proxy?.trim();
|
const proxy = params.discordConfig?.proxy?.trim();
|
||||||
const options = {
|
const options = {
|
||||||
reconnect: { maxAttempts: Number.POSITIVE_INFINITY },
|
reconnect: { maxAttempts: 50 },
|
||||||
intents,
|
intents,
|
||||||
autoInteractions: true,
|
autoInteractions: true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user