|
@@ -11,7 +11,7 @@ namespace Discord |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Gets the Message ID of the original message. |
|
|
/// Gets the Message ID of the original message. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
public ulong? MessageId { get; internal set; } |
|
|
|
|
|
|
|
|
public Optional<ulong> MessageId { get; internal set; } |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Gets the Channel ID of the original message. |
|
|
/// Gets the Channel ID of the original message. |
|
@@ -21,11 +21,11 @@ namespace Discord |
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Gets the Guild ID of the original message. |
|
|
/// Gets the Guild ID of the original message. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
public ulong? GuildId { get; internal set; } |
|
|
|
|
|
|
|
|
public Optional<ulong> GuildId { get; internal set; } |
|
|
|
|
|
|
|
|
private string DebuggerDisplay |
|
|
private string DebuggerDisplay |
|
|
=> $"Channel ID: ({ChannelId}){(GuildId.HasValue ? $", Guild ID: ({GuildId.Value})" : "")}" + |
|
|
|
|
|
$"{(MessageId.HasValue ? $", Message ID: ({MessageId.Value})" : "")}"; |
|
|
|
|
|
|
|
|
=> $"Channel ID: ({ChannelId}){(GuildId.IsSpecified ? $", Guild ID: ({GuildId.Value})" : "")}" + |
|
|
|
|
|
$"{(MessageId.IsSpecified ? $", Message ID: ({MessageId.Value})" : "")}"; |
|
|
|
|
|
|
|
|
public override string ToString() |
|
|
public override string ToString() |
|
|
=> DebuggerDisplay; |
|
|
=> DebuggerDisplay; |
|
|