Browse Source

Add summary tag verbs, example of IUser locale

pull/1237/head
Chris Johnston 6 years ago
parent
commit
c0ab988c34
2 changed files with 6 additions and 5 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Activities/IActivity.cs
  2. +5
    -4
      src/Discord.Net.Core/Entities/Users/IUser.cs

+ 1
- 1
src/Discord.Net.Core/Entities/Activities/IActivity.cs View File

@@ -20,7 +20,7 @@ namespace Discord
/// </returns>
ActivityType Type { get; }
/// <summary>
/// The flags that are relevant to this activity.
/// Gets the flags that are relevant to this activity.
/// </summary>
/// <remarks>
/// This value is determined by bitwise OR-ing <see cref="ActivityFlag"/> values together.


+ 5
- 4
src/Discord.Net.Core/Entities/Users/IUser.cs View File

@@ -113,7 +113,7 @@ namespace Discord
/// </returns>
Task<IDMChannel> GetOrCreateDMChannelAsync(RequestOptions options = null);
/// <summary>
/// The flags that are applied to a user's account.
/// Gets the flags that are applied to a user's account.
/// </summary>
/// <remarks>
/// This value is determined by bitwise OR-ing <see cref="UserFlag"/> values together.
@@ -123,7 +123,7 @@ namespace Discord
/// </returns>
UserFlag Flags { get; }
/// <summary>
/// The type of Nitro subscription that is active on this user's account.
/// Gets the type of Nitro subscription that is active on this user's account.
/// </summary>
/// <remarks>
/// This information may only be available with the identify OAuth scope,
@@ -134,10 +134,11 @@ namespace Discord
/// </returns>
PremiumType? PremiumType { get; }
/// <summary>
/// The user's chosen language option.
/// Gets the user's chosen language option.
/// </summary>
/// <returns>
/// The value of the user's chosen language option, if provided.
/// The IETF language tag of the user's chosen region, if provided.
/// For example, a locale of "English, US" is "en-US", "Chinese (Taiwan)" is "zh-TW", etc.
/// </returns>
string Locale { get; }
}


Loading…
Cancel
Save