Browse Source

[EN] Present perf. -> past perf.

pull/1161/head
sarcasmloading 7 years ago
parent
commit
b27051bfb1
8 changed files with 21 additions and 20 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/InviteCreateAuditLogData.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/MemberUpdateAuditLogData.cs
  3. +4
    -4
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/OverwriteUpdateAuditLogData.cs
  4. +2
    -2
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/PruneAuditLogData.cs
  5. +4
    -4
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs
  6. +4
    -4
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleDeleteAuditLogData.cs
  7. +2
    -2
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleUpdateAuditLogData.cs
  8. +3
    -2
      src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/WebhookCreateAuditLogData.cs

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

@@ -88,7 +88,7 @@ namespace Discord.Rest
/// Gets the number of times this invite has been used. /// Gets the number of times this invite has been used.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// An <see cref="int"/> representing the number of times this invite has been used.
/// An <see cref="int"/> representing the number of times this invite was used.
/// </returns> /// </returns>
public int Uses { get; } public int Uses { get; }
/// <summary> /// <summary>


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

@@ -41,7 +41,7 @@ namespace Discord.Rest
/// Gets the new nickname of the user. /// Gets the new nickname of the user.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A string containing the new nickname of the user; <c>null</c> if the user no longer has a nickname.
/// A string containing the new nickname of the user; <c>null</c> if the user no longer had a nickname.
/// </returns> /// </returns>
public string NewNick { get; } public string NewNick { get; }
/// <summary> /// <summary>


+ 4
- 4
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/OverwriteUpdateAuditLogData.cs View File

@@ -50,15 +50,15 @@ namespace Discord.Rest
/// Gets the overwrite permissions after the changes. /// Gets the overwrite permissions after the changes.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// An overwrite permissions object representing the overwrite permissions that the overwrite now has after
/// the changes.
/// An overwrite permissions object representing the overwrite permissions that the overwrite had after the
/// changes.
/// </returns> /// </returns>
public OverwritePermissions NewPermissions { get; } public OverwritePermissions NewPermissions { get; }
/// <summary> /// <summary>
/// Gets the snowflake ID of the overwrite that has been updated.
/// Gets the ID of the overwrite that was updated.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A <see cref="ulong"/> representing the snowflake identifier of the overwrite that has been updated.
/// A <see cref="ulong"/> representing the snowflake identifier of the overwrite that was updated.
/// </returns> /// </returns>
public ulong OverwriteTargetId { get; } public ulong OverwriteTargetId { get; }
/// <summary> /// <summary>


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

@@ -24,7 +24,7 @@ namespace Discord.Rest
/// </summary> /// </summary>
/// <returns> /// <returns>
/// An <see cref="int"/> representing the amount of days that a member must have been seen in the server, /// An <see cref="int"/> representing the amount of days that a member must have been seen in the server,
/// to avoid being kicked. (i.e. If a user has not been seen for more than PruneDays, they will be
/// to avoid being kicked. (i.e. If a user has not been seen for more than <paramref cref="PruneDays"/>, they will be
/// kicked from the server) /// kicked from the server)
/// </returns> /// </returns>
public int PruneDays { get; } public int PruneDays { get; }
@@ -33,7 +33,7 @@ namespace Discord.Rest
/// </summary> /// </summary>
/// <returns> /// <returns>
/// An <see cref="int"/> representing the number of members that were removed from this guild for having /// An <see cref="int"/> representing the number of members that were removed from this guild for having
/// not been seen within PruneDays.
/// not been seen within <paramref cref="PruneDays"/>.
/// </returns> /// </returns>
public int MembersRemoved { get; } public int MembersRemoved { get; }
} }


+ 4
- 4
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleCreateAuditLogData.cs View File

@@ -45,17 +45,17 @@ namespace Discord.Rest
} }


/// <summary> /// <summary>
/// Gets the ID of the role that has been created.
/// Gets the ID of the role that was created.
/// </summary> /// </summary>
/// <return> /// <return>
/// A <see cref="ulong"/> representing the snowflake identifer to the role that has been created.
/// A <see cref="ulong"/> representing the snowflake identifer to the role that was created.
/// </return> /// </return>
public ulong RoleId { get; } public ulong RoleId { get; }
/// <summary> /// <summary>
/// Gets the role information that has been created.
/// Gets the role information that was created.
/// </summary> /// </summary>
/// <return> /// <return>
/// An information object representing the properties of the role that has been created.
/// An information object representing the properties of the role that was created.
/// </return> /// </return>
public RoleEditInfo Properties { get; } public RoleEditInfo Properties { get; }
} }


+ 4
- 4
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/RoleDeleteAuditLogData.cs View File

@@ -45,17 +45,17 @@ namespace Discord.Rest
} }


/// <summary> /// <summary>
/// Gets the ID of the role that has been deleted.
/// Gets the ID of the role that was deleted.
/// </summary> /// </summary>
/// <return> /// <return>
/// A <see cref="ulong"/> representing the snowflake identifer to the role that has been deleted.
/// A <see cref="ulong"/> representing the snowflake identifer to the role that was deleted.
/// </return> /// </return>
public ulong RoleId { get; } public ulong RoleId { get; }
/// <summary> /// <summary>
/// Gets the role information that has been deleted.
/// Gets the role information that was deleted.
/// </summary> /// </summary>
/// <return> /// <return>
/// An information object representing the properties of the role that has been deleted.
/// An information object representing the properties of the role that was deleted.
/// </return> /// </return>
public RoleEditInfo Properties { get; } public RoleEditInfo Properties { get; }
} }


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

@@ -59,10 +59,10 @@ namespace Discord.Rest
} }


/// <summary> /// <summary>
/// Gets the ID of the role that has been changed.
/// Gets the ID of the role that was changed.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A <see cref="ulong"/> representing the snowflake identifier of the role that has been changed.
/// A <see cref="ulong"/> representing the snowflake identifier of the role that was changed.
/// </returns> /// </returns>
public ulong RoleId { get; } public ulong RoleId { get; }
/// <summary> /// <summary>


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

@@ -64,10 +64,11 @@ namespace Discord.Rest
/// </returns> /// </returns>
public string Name { get; } public string Name { get; }
/// <summary> /// <summary>
/// Gets the ID of the channel that the webhook can send to.
/// Gets the ID of the channel that the webhook could send to.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A <see cref="ulong"/> representing the snowflake identifier of the channel that the webhook can send to.
/// A <see cref="ulong"/> representing the snowflake identifier of the channel that the webhook could send
/// to.
/// </returns> /// </returns>
public ulong ChannelId { get; } public ulong ChannelId { get; }
} }


Loading…
Cancel
Save