diff --git a/src/Discord.Net.Core/Interactions/IRouteMatchContainer.cs b/src/Discord.Net.Core/Interactions/IRouteMatchContainer.cs index 3dbcd041e..f9a3a3183 100644 --- a/src/Discord.Net.Core/Interactions/IRouteMatchContainer.cs +++ b/src/Discord.Net.Core/Interactions/IRouteMatchContainer.cs @@ -3,17 +3,20 @@ using System.Collections.Generic; namespace Discord { /// - /// Represents a container for temporarily storing CustomId wild card matches of a command name. + /// Represents a container for temporarily storing CustomId wild card matches of a component. /// public interface IRouteMatchContainer { /// - /// Gets the collection of the captured route segments. + /// Gets the collection of captured route segments in this container. /// + /// + /// A collection of captured route segments. + /// IEnumerable SegmentMatches { get; } /// - /// Sets the propert + /// Sets the property of this container. /// /// The collection of captured route segments. void SetSegmentMatches(IEnumerable segmentMatches); diff --git a/src/Discord.Net.Core/Interactions/IRouteSegmentMatch.cs b/src/Discord.Net.Core/Interactions/IRouteSegmentMatch.cs index bf03573ba..675bd6754 100644 --- a/src/Discord.Net.Core/Interactions/IRouteSegmentMatch.cs +++ b/src/Discord.Net.Core/Interactions/IRouteSegmentMatch.cs @@ -1,13 +1,16 @@ namespace Discord { /// - /// Represents an object for storing CustomId a wild card match. + /// Represents an object for storing a CustomId wild card match. /// public interface IRouteSegmentMatch { /// - /// Gets the captured value. + /// Gets the captured value of this wild card match. /// + /// + /// The value of this wild card. + /// string Value { get; } } } diff --git a/src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs b/src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs index 1d9df3817..f1d80cfea 100644 --- a/src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs +++ b/src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs @@ -1,7 +1,7 @@ namespace Discord { /// - /// Represents an object for storing CustomId wild card matches. + /// Represents an object for storing a CustomId wild card match. /// internal record RouteSegmentMatch : IRouteSegmentMatch {