Class SessionBucket
- Namespace
- DisCatSharp.Net
- Assembly
- DisCatSharp.dll
Represents the bucket limits for identifying to Discord.
This is only relevant for clients that are manually sharding.
public sealed class SessionBucket
- Inheritance
-
SessionBucket
- Inherited Members
Properties
- MaxConcurrency
Gets the maximum amount of shards that can boot concurrently.
- Remaining
Gets the remaining amount of sessions for this token.
- ResetAfter
Gets the datetime when the Remaining will reset.
- Total
Gets the total amount of sessions per token.
Methods
- ToString()
Returns a readable session bucket string.