Browse Source

Amendments to RestUser

pull/1161/head
Casino Boyale 7 years ago
parent
commit
ba8515a5d3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Discord.Net.Rest/Entities/Users/RestUser.cs

+ 2
- 2
src/Discord.Net.Rest/Entities/Users/RestUser.cs View File

@@ -70,7 +70,7 @@ namespace Discord.Rest
/// </summary>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// An awaitable <see cref="Task"/> containing a <see cref="RestDMChannel"/>.
/// A task that represents the asynchronous get operation. The task result contains a rest DM channel where the user is the recipient.
/// </returns>
public Task<RestDMChannel> GetOrCreateDMChannelAsync(RequestOptions options = null)
=> UserHelper.CreateDMChannelAsync(this, Discord, options);
@@ -87,7 +87,7 @@ namespace Discord.Rest
/// Gets the Username#Descriminator of the user.
/// </summary>
/// <returns>
/// A string that is the Username#Descriminator of the user.
/// A string that resolves to Username#Descriminator of the user.
/// </returns>
public override string ToString() => $"{Username}#{Discriminator}";
private string DebuggerDisplay => $"{Username}#{Discriminator} ({Id}{(IsBot ? ", Bot" : "")})";


Loading…
Cancel
Save