Browse Source

Amendments

pull/1161/head
Casino Boyale 7 years ago
parent
commit
0fd59f8840
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      src/Discord.Net.Rest/Entities/Channels/RestDMChannel.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/Invites/RestInvite.cs

+ 3
- 1
src/Discord.Net.Rest/Entities/Channels/RestDMChannel.cs View File

@@ -145,7 +145,9 @@ namespace Discord.Rest
/// <summary> /// <summary>
/// Gets a string that represents the Username#Discriminator of the recipient. /// Gets a string that represents the Username#Discriminator of the recipient.
/// </summary> /// </summary>
/// <returns></returns>
/// <returns>
/// A string that resolves to the Recipient of this channel.
/// </returns>
public override string ToString() => $"@{Recipient}"; public override string ToString() => $"@{Recipient}";
private string DebuggerDisplay => $"@{Recipient} ({Id}, DM)"; private string DebuggerDisplay => $"@{Recipient} ({Id}, DM)";




+ 1
- 1
src/Discord.Net.Rest/Entities/Invites/RestInvite.cs View File

@@ -66,7 +66,7 @@ namespace Discord.Rest
/// Gets the URL of the invite. /// Gets the URL of the invite.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A string that is the URL of the invite.
/// A string that resolves to the Url of the invite.
/// </returns> /// </returns>
public override string ToString() => Url; public override string ToString() => Url;
private string DebuggerDisplay => $"{Url} ({GuildName} / {ChannelName})"; private string DebuggerDisplay => $"{Url} ({GuildName} / {ChannelName})";


Loading…
Cancel
Save