Browse Source

Change audit log data types to start with 'Contains' (verb) instead of an article

pull/1161/head
sarcasmloading 7 years ago
parent
commit
060bf1fc91
15 changed files with 18 additions and 15 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/BanAuditLogData.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelCreateAuditLogData.cs
  3. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelDeleteAuditLogData.cs
  4. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelUpdateAuditLogData.cs
  5. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteCreateAuditLogData.cs
  6. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteDeleteAuditLogData.cs
  7. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteUpdateAuditLogData.cs
  8. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/GuildUpdateAuditLogData.cs
  9. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteCreateAuditLogData.cs
  10. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteDeleteAuditLogData.cs
  11. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteUpdateAuditLogData.cs
  12. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/KickAuditLogData.cs
  13. +2
    -2
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberRoleAuditLogData.cs
  14. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberRoleEditInfo.cs
  15. +3
    -0
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberUpdateAuditLogData.cs

+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/BanAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelCreateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelDeleteAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelUpdateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteCreateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteDeleteAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/EmoteUpdateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/GuildUpdateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteCreateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteDeleteAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteUpdateAuditLogData.cs View File

@@ -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
{ {


+ 1
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/KickAuditLogData.cs View File

@@ -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
{ {


+ 2
- 2
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberRoleAuditLogData.cs View File

@@ -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
- 1
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberRoleEditInfo.cs View File

@@ -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
{ {


+ 3
- 0
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberUpdateAuditLogData.cs View File

@@ -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)


Loading…
Cancel
Save