API reference
Method ExceptUsers
- Namespace
- DisCatSharp.Voice.Entities
- Assembly
- DisCatSharp.Voice.dll
ExceptUsers(IEnumerable<ulong>)
Creates a policy that receives media from every user except the specified Discord users.
public static VoiceMediaReceivePolicy ExceptUsers(IEnumerable<ulong> userIds)
Parameters
userIdsIEnumerable<ulong>The Discord users whose media should be suppressed.
Returns
- VoiceMediaReceivePolicy
A policy that block-lists the specified users.