Table of Contents

Method SetReconnectOnFatalGatewayErrors

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

SetReconnectOnFatalGatewayErrors()

Instructs DSharpPlus to try reconnecting when encountering a fatal gateway error. By default, DSharpPlus will leave the decision on fatal gateway errors to the user.

public DiscordClientBuilder SetReconnectOnFatalGatewayErrors()

Returns

DiscordClientBuilder

The current instance for chaining.