Browse Source

Add doc for Position field

pull/2245/head
Diego-VP20 3 years ago
parent
commit
816719c7db
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs

+ 3
- 1
src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs View File

@@ -39,7 +39,9 @@ namespace Discord.WebSocket
public string Icon { get; private set; }
/// <inheritdoc />
public GuildPermissions Permissions { get; private set; }
/// <inheritdoc />
/// <summary>
/// Returns the position of the role in the hierarchy. The higher the number, the higher the role is in the hierarchy.
/// </summary>
public int Position { get; private set; }
/// <inheritdoc />
public RoleTags Tags { get; private set; }


Loading…
Cancel
Save