From 812399a42ce795e7b18880376c67546e729006bf Mon Sep 17 00:00:00 2001 From: sarcasmloading <29299928+sarcasmloading@users.noreply.github.com> Date: Thu, 12 Jul 2018 11:34:54 +1200 Subject: [PATCH] Documented RoleCreateAuditLogData --- .../AuditLogs/DataTypes/RoleCreateAuditLogData.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs b/src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs index dcc1c6ab6..89b835de6 100644 --- a/src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs +++ b/src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs @@ -5,6 +5,9 @@ using EntryModel = Discord.API.AuditLogEntry; namespace Discord.Rest { + /// + /// Contains audit log data related to a role creation. + /// public class RoleCreateAuditLogData : IAuditLogData { private RoleCreateAuditLogData(ulong id, RoleEditInfo props) @@ -41,7 +44,19 @@ namespace Discord.Rest new RoleEditInfo(color, mentionable, hoist, name, permissions)); } + /// + /// Gets the ID of the role that has been created. + /// + /// + /// A representing the snowflake identifer to the role that has been created. + /// public ulong RoleId { get; } + /// + /// Gets the role information that has been created. + /// + /// + /// An information object representing the properties of the role that has been created. + /// public RoleEditInfo Properties { get; } } }