Skip to content

Commit

Permalink
Some xmldocs corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quahu committed May 16, 2024
1 parent 0e80a8c commit c374066
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ namespace Disqord.Gateway;
public class MessageDeletedEventArgs : EventArgs
{
/// <summary>
/// Gets the ID of the guild in which the delete occurred.
/// Gets the ID of the guild in which the deletion occurred.
/// Returns <see langword="null"/> if the message was deleted in a private channel.
/// </summary>
public Snowflake? GuildId { get; }

/// <summary>
/// Gets the ID of the channel in which the delete occurred.
/// Gets the ID of the channel in which the deletion occurred.
/// </summary>
public Snowflake ChannelId { get; }

Expand All @@ -21,7 +21,7 @@ public class MessageDeletedEventArgs : EventArgs
public Snowflake MessageId { get; }

/// <summary>
/// Gets the message in the state before the delete occurred.
/// Gets the message in the state before the deletion occurred.
/// Returns <see langword="null"/> if the message was not cached.
/// </summary>
public CachedUserMessage? Message { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class MessageReceivedEventArgs : EventArgs
/// Gets the cached channel in which the message was received.
/// </summary>
/// <returns>
/// The channel or <see langword="null"/> if the channel was not cached of if the message was received outside of a guild.
/// The channel or <see langword="null"/> if the channel was not cached of if the message was received outside a guild.
/// </returns>
public CachedMessageGuildChannel? Channel { get; }

Expand All @@ -47,7 +47,7 @@ public class MessageReceivedEventArgs : EventArgs
/// If this returns <see langword="null"/>, retrieve the author from the <see cref="Message"/> instead.
/// </remarks>
/// <returns>
/// The member or <see langword="null"/> if the member was not cached or if the message was received outside of a guild.
/// The member or <see langword="null"/> if the member was not cached or if the message was received outside a guild.
/// </returns>
public CachedMember? Member { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace Disqord.Gateway;
public class MessagesDeletedEventArgs : EventArgs
{
/// <summary>
/// Gets the ID of the guild in which the delete occurred.
/// Gets the ID of the guild in which the deletion occurred.
/// </summary>
public Snowflake GuildId { get; }

/// <summary>
/// Gets the ID of the channel in which the delete occurred.
/// Gets the ID of the channel in which the deletion occurred.
/// </summary>
public Snowflake ChannelId { get; }

Expand All @@ -21,7 +21,7 @@ public class MessagesDeletedEventArgs : EventArgs
public IReadOnlyList<Snowflake> MessageIds { get; }

/// <summary>
/// Gets the messages in the state before the delete occurred.
/// Gets the messages in the state before the deletion occurred.
/// If any of the messages deleted were not cached, they will
/// not be present in the dictionary.
/// </summary>
Expand All @@ -38,4 +38,4 @@ public MessagesDeletedEventArgs(
MessageIds = messageIds;
Messages = messages;
}
}
}

0 comments on commit c374066

Please sign in to comment.