From e2f87526a45a34fa29907d100081c72165b47bef Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Fri, 11 Jan 2019 03:51:36 -0800 Subject: [PATCH] Add remark saying that premium_type info may be inaccessible to bots it seems that this information can not be accessed by any user, and may require the identity oauth scope --- src/Discord.Net.Core/Entities/Users/IUser.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Entities/Users/IUser.cs b/src/Discord.Net.Core/Entities/Users/IUser.cs index af51d9bb4..6f78a5ab9 100644 --- a/src/Discord.Net.Core/Entities/Users/IUser.cs +++ b/src/Discord.Net.Core/Entities/Users/IUser.cs @@ -124,8 +124,15 @@ namespace Discord /// int Flags { get; } /// - /// The type of Nitro subscription + /// The type of Nitro subscription that is active on this user's account. /// + /// + /// This information may only be available with the identify OAuth scope, + /// meaning that users and bots will not have access to this information. + /// + /// + /// The type of Nitro subscription the user subscribes to, or null if this value could not be determined. + /// PremiumType? PremiumType { get; } } }