Table of Contents

Class BotGateway

Namespace
Discord
Assembly
Discord.Net.Core.dll

Stores the gateway information related to the current bot.

public class BotGateway
Inheritance
BotGateway
Inherited Members

Properties

SessionStartLimit

Gets the SessionStartLimit that contains the information about the current session start limit.

public SessionStartLimit SessionStartLimit { get; }

Property Value

SessionStartLimit

Shards

Gets the recommended number of shards to use when connecting.

public int Shards { get; }

Property Value

int

Url

Gets the WSS URL that can be used for connecting to the gateway.

public string Url { get; }

Property Value

string