Class BotGateway
Stores the gateway information related to the current bot.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class BotGateway : object
Properties
| Improve this Doc View SourceSessionStartLimit
Gets the SessionStartLimit that contains the information about the current session start limit.
Declaration
public SessionStartLimit SessionStartLimit { get; }
Property Value
Type | Description |
---|---|
SessionStartLimit |
Shards
Gets the recommended number of shards to use when connecting.
Declaration
public int Shards { get; }
Property Value
Type | Description |
---|---|
Int32 |
Url
Gets the WSS URL that can be used for connecting to the gateway.
Declaration
public string Url { get; }
Property Value
Type | Description |
---|---|
String |