From 816719c7db150e73175dd62ebc703c98bbe2176f Mon Sep 17 00:00:00 2001 From: Diego-VP20 <69905156+Diego-VP20@users.noreply.github.com> Date: Thu, 14 Apr 2022 22:43:17 +0200 Subject: [PATCH] Add doc for Position field --- src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs b/src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs index 1e90b8f5c..3bcc362ef 100644 --- a/src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs +++ b/src/Discord.Net.WebSocket/Entities/Roles/SocketRole.cs @@ -39,7 +39,9 @@ namespace Discord.WebSocket public string Icon { get; private set; } /// public GuildPermissions Permissions { get; private set; } - /// + /// + /// Returns the position of the role in the hierarchy. The higher the number, the higher the role is in the hierarchy. + /// public int Position { get; private set; } /// public RoleTags Tags { get; private set; }