Add self_video to VoiceState (#2137)

* Add self_video to VoiceState

* Update selfVideo flag
This commit is contained in:
EpicOfficer
2022-03-02 20:27:29 +00:00
committed by GitHub
parent 3e52fab67b
commit 8bcd3da9e4
10 changed files with 33 additions and 3 deletions

View File

@@ -65,6 +65,8 @@ namespace Discord.WebSocket
/// <inheritdoc />
public bool IsStreaming => VoiceState?.IsStreaming ?? false;
/// <inheritdoc />
public bool IsVideoing => VoiceState?.IsVideoing ?? false;
/// <inheritdoc />
public DateTimeOffset? RequestToSpeakTimestamp => VoiceState?.RequestToSpeakTimestamp ?? null;
/// <inheritdoc />
public bool? IsPending { get; private set; }