@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a ban. | |||||
/// Contains audit log data related to a ban. | |||||
/// </summary> | /// </summary> | ||||
public class BanAuditLogData : IAuditLogData | public class BanAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -7,7 +7,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a channel creation. | |||||
/// Contains audit log data related to a channel creation. | |||||
/// </summary> | /// </summary> | ||||
public class ChannelCreateAuditLogData : IAuditLogData | public class ChannelCreateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -7,7 +7,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a channel deletion. | |||||
/// Contains audit log data related to a channel deletion. | |||||
/// </summary> | /// </summary> | ||||
public class ChannelDeleteAuditLogData : IAuditLogData | public class ChannelDeleteAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a channel update. | |||||
/// Contains audit log data related to a channel update. | |||||
/// </summary> | /// </summary> | ||||
public class ChannelUpdateAuditLogData : IAuditLogData | public class ChannelUpdateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to an emoji creation. | |||||
/// Contains audit log data related to an emoji creation. | |||||
/// </summary> | /// </summary> | ||||
public class EmoteCreateAuditLogData : IAuditLogData | public class EmoteCreateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to an emoji deletion. | |||||
/// Contains audit log data related to an emoji deletion. | |||||
/// </summary> | /// </summary> | ||||
public class EmoteDeleteAuditLogData : IAuditLogData | public class EmoteDeleteAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to an emoji update. | |||||
/// Contains audit log data related to an emoji update. | |||||
/// </summary> | /// </summary> | ||||
public class EmoteUpdateAuditLogData : IAuditLogData | public class EmoteUpdateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a guild update. | |||||
/// Contains audit log data related to a guild update. | |||||
/// </summary> | /// </summary> | ||||
public class GuildUpdateAuditLogData : IAuditLogData | public class GuildUpdateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to an invite creation. | |||||
/// Contains audit log data related to an invite creation. | |||||
/// </summary> | /// </summary> | ||||
public class InviteCreateAuditLogData : IAuditLogData | public class InviteCreateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to an invite removal. | |||||
/// Contains audit log data related to an invite removal. | |||||
/// </summary> | /// </summary> | ||||
public class InviteDeleteAuditLogData : IAuditLogData | public class InviteDeleteAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data relating to an invite update. | |||||
/// Contains audit log data relating to an invite update. | |||||
/// </summary> | /// </summary> | ||||
public class InviteUpdateAuditLogData : IAuditLogData | public class InviteUpdateAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -6,7 +6,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// Represents a piece of audit log data related to a kick. | |||||
/// Contains audit log data related to a kick. | |||||
/// </summary> | /// </summary> | ||||
public class KickAuditLogData : IAuditLogData | public class KickAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -7,7 +7,7 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// A piece of audit log data related to a change in a guild member's roles. | |||||
/// Contains audit log data related to a change in a guild member's roles. | |||||
/// </summary> | /// </summary> | ||||
public class MemberRoleAuditLogData : IAuditLogData | public class MemberRoleAuditLogData : IAuditLogData | ||||
{ | { | ||||
@@ -36,7 +36,7 @@ namespace Discord.Rest | |||||
/// Gets a collection of role changes that were performed on the member. | /// Gets a collection of role changes that were performed on the member. | ||||
/// </summary> | /// </summary> | ||||
/// <returns> | /// <returns> | ||||
/// A read-only collection of <see cref="MemberRoleEditInfo"/>. | |||||
/// A read-only collection of <see cref="MemberRoleEditInfo"/>, containing the changes | |||||
/// </returns> | /// </returns> | ||||
public IReadOnlyCollection<MemberRoleEditInfo> Roles { get; } | public IReadOnlyCollection<MemberRoleEditInfo> Roles { get; } | ||||
/// <summary> | /// <summary> | ||||
@@ -1,7 +1,7 @@ | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | /// <summary> | ||||
/// An information object representing a change in one of a member's roles. | |||||
/// An information object representing a change in one of a guild member's roles. | |||||
/// </summary> | /// </summary> | ||||
public struct MemberRoleEditInfo | public struct MemberRoleEditInfo | ||||
{ | { | ||||
@@ -5,6 +5,9 @@ using EntryModel = Discord.API.AuditLogEntry; | |||||
namespace Discord.Rest | namespace Discord.Rest | ||||
{ | { | ||||
/// <summary> | |||||
/// Contains audit log data related to a change in a guild member. | |||||
/// </summary> | |||||
public class MemberUpdateAuditLogData : IAuditLogData | public class MemberUpdateAuditLogData : IAuditLogData | ||||
{ | { | ||||
private MemberUpdateAuditLogData(IUser target, string newNick, string oldNick) | private MemberUpdateAuditLogData(IUser target, string newNick, string oldNick) | ||||