Browse Source

Cleanup doc for c1d78189

pull/1161/head
Still Hsu 7 years ago
parent
commit
35fd4eb45e
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Discord.Net.Core/Entities/Permissions/ChannelPermissions.cs

+ 2
- 2
src/Discord.Net.Core/Entities/Permissions/ChannelPermissions.cs View File

@@ -8,7 +8,7 @@ namespace Discord
public struct ChannelPermissions
{
/// <summary> Gets a blank <see cref="ChannelPermissions"/> that grants no permissions. </summary>
/// <returns>A <see cref="ChannelPermissions"/> structure that does not contain any set permissions.</returns>
/// <returns> A <see cref="ChannelPermissions"/> structure that does not contain any set permissions. </returns>
public static readonly ChannelPermissions None = new ChannelPermissions();
/// <summary> Gets a <see cref="ChannelPermissions"/> that grants all permissions for text channels. </summary>
public static readonly ChannelPermissions Text = new ChannelPermissions(0b01100_0000000_1111111110001_010001);
@@ -80,7 +80,7 @@ namespace Discord
public bool MoveMembers => Permissions.GetValue(RawValue, ChannelPermission.MoveMembers);
/// <summary> If <c>true</c>, a user may use voice-activity-detection rather than push-to-talk. </summary>
public bool UseVAD => Permissions.GetValue(RawValue, ChannelPermission.UseVAD);
/// <summary> If True, a user may use priority speaker in a voice channel. </summary>
/// <summary> If <c>true</c>, a user may use priority speaker in a voice channel. </summary>
public bool PrioritySpeaker => Permissions.GetValue(RawValue, ChannelPermission.PrioritySpeaker);

/// <summary> If <c>true</c>, a user may adjust role permissions. This also implictly grants all other permissions. </summary>


Loading…
Cancel
Save