Table of Contents

Class SessionBucket

Namespace
DSharpPlus.Net
Assembly
DSharpPlus.dll

Represents the bucket limits for identifying to Discord.

This is only relevant for clients that are manually sharding.

public class SessionBucket
Inheritance
object
SessionBucket

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 string that represents the current object.