|
|
@@ -267,8 +267,9 @@ namespace Discord.WebSocket |
|
|
|
} |
|
|
|
|
|
|
|
client.Connected += () => _shardConnectedEvent.InvokeAsync(client); |
|
|
|
client.Disconnected += (exception) => _shardDisconnectedEvent.InvokeAsync(client, exception); |
|
|
|
client.Disconnected += (exception) => _shardDisconnectedEvent.InvokeAsync(exception, client); |
|
|
|
client.Ready += () => _shardReadyEvent.InvokeAsync(client); |
|
|
|
client.LatencyUpdated += (oldLatency, newLatency) => _shardLatencyUpdatedEvent.InvokeAsync(oldLatency, newLatency, client); |
|
|
|
|
|
|
|
client.ChannelCreated += (channel) => _channelCreatedEvent.InvokeAsync(channel); |
|
|
|
client.ChannelDestroyed += (channel) => _channelDestroyedEvent.InvokeAsync(channel); |
|
|
|