Enum ConnectionState
Specifies the connection state of a client.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public enum ConnectionState : byte
Fields​
Disconnected​
The client has disconnected from Discord.
View Source​
Declaration
Disconnected = 0
Connecting​
The client is connecting to Discord.
View Source​
Declaration
Connecting = 1
Connected​
The client has established a connection to Discord.
View Source​
Declaration
Connected = 2
Disconnecting​
The client is disconnecting from Discord.
View Source​
Declaration
Disconnecting = 3