Implemented ClientDisconnect event for audio client. (#2520)

This commit is contained in:
Frederik P
2022-12-14 07:57:54 +01:00
committed by GitHub
parent 82b772ac03
commit 4cad546d57
4 changed files with 32 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ namespace Discord.Audio
event Func<ulong, AudioInStream, Task> StreamCreated;
event Func<ulong, Task> StreamDestroyed;
event Func<ulong, bool, Task> SpeakingUpdated;
event Func<ulong, Task> ClientDisconnected;
/// <summary> Gets the current connection state of this client. </summary>
ConnectionState ConnectionState { get; }