Skip to content

Commit

Permalink
Rename MessageReferenceType.Reply -> Default
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumToasted committed Nov 10, 2024
1 parent c77aabd commit a049dba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class LocalMessageReference : ILocalConstruct<LocalMessageReference>, IJs
/// Gets or sets the type of way this message will be referenced.
/// </summary>
/// <remarks>
/// This property defaults to <see cref="MessageReferenceType.Reply"/>.
/// This property defaults to <see cref="MessageReferenceType.Default"/>.
/// </remarks>
public Optional<MessageReferenceType> Type { get; set; } = MessageReferenceType.Reply;
public Optional<MessageReferenceType> Type { get; set; } = MessageReferenceType.Default;

/// <summary>
/// Gets or sets the ID of the referenced message.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Disqord;
public class TransientMessageReference : TransientEntity<MessageReferenceJsonModel>, IMessageReference
{
/// <inheritdoc/>
public MessageReferenceType Type => Model.Type.GetValueOrNullable() ?? MessageReferenceType.Reply;
public MessageReferenceType Type => Model.Type.GetValueOrNullable() ?? MessageReferenceType.Default;

/// <inheritdoc/>
public Snowflake? MessageId => Model.MessageId.GetValueOrNullable();
Expand Down
2 changes: 1 addition & 1 deletion src/Disqord.Core/Enums/MessageReferenceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public enum MessageReferenceType
/// <summary>
/// A standard reference used by replies.
/// </summary>
Reply = 0,
Default = 0,

/// <summary>
/// A reference used to point to a message at a point in time.
Expand Down

0 comments on commit a049dba

Please sign in to comment.