Browse Source

move concrete impl of IRouteSegmentMatch to internal

pull/2136/head
Cenk Ergen 3 years ago
parent
commit
3e1ccdba0b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs

+ 2
- 2
src/Discord.Net.Core/Interactions/RouteSegmentMatch.cs View File

@@ -3,12 +3,12 @@ namespace Discord
/// <summary> /// <summary>
/// Represents an object for storing CustomId wild card matches. /// Represents an object for storing CustomId wild card matches.
/// </summary> /// </summary>
public record RouteSegmentMatch : IRouteSegmentMatch
internal record RouteSegmentMatch : IRouteSegmentMatch
{ {
/// <inheritdoc/> /// <inheritdoc/>
public string Value { get; } public string Value { get; }


internal RouteSegmentMatch(string value)
public RouteSegmentMatch(string value)
{ {
Value = value; Value = value;
} }


Loading…
Cancel
Save