Property ReconnectDelay
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
ReconnectDelay
Delay before sending a RESUME after receiving an INVALID_SESSION with d: true.
Discord recommends waiting a few seconds before resuming a session to avoid rate-limit issues. Adjust this if you experience frequent resume failures or want faster reconnection.
Must be positive. Defaults to 6 seconds.
public TimeSpan ReconnectDelay { set; }