diff --git a/src/Discord.Net.Core/Entities/Activities/IActivity.cs b/src/Discord.Net.Core/Entities/Activities/IActivity.cs index ac0c1b5d7..f806d4283 100644 --- a/src/Discord.Net.Core/Entities/Activities/IActivity.cs +++ b/src/Discord.Net.Core/Entities/Activities/IActivity.cs @@ -19,5 +19,37 @@ namespace Discord /// The type of activity. /// ActivityType Type { get; } + /// + /// Gets the Stream URL. Only used when is . + /// + /// + /// A string containing the URL to the stream. + /// + string Url { get; } + /// + /// Gets the unix timestamps for the start and/or end of the activity. + /// + /// + /// A containing the start and end times, if specified. + /// + GameTimestamps Timestamps { get; } + /// + /// Gets the application Id for the game. + /// + ulong ApplicationId { get; } + /// + /// Gets what the user is currently doing. + /// + string Details { get; } + /// + /// Gets the user's current party status. + /// + string State { get; } + //TODO finish docs + GameParty Party { get; } + GameAsset Assets { get; } + GameSecrets Secrets { get; } + bool Instance { get; } + int Flags { get; } } } diff --git a/src/Discord.Net.Core/Entities/Users/IUser.cs b/src/Discord.Net.Core/Entities/Users/IUser.cs index 5d7d0a0b0..745750c17 100644 --- a/src/Discord.Net.Core/Entities/Users/IUser.cs +++ b/src/Discord.Net.Core/Entities/Users/IUser.cs @@ -112,5 +112,15 @@ namespace Discord /// contains the DM channel associated with this user. /// Task GetOrCreateDMChannelAsync(RequestOptions options = null); + + /// + /// The flags on a user's account + /// TODO we could probably have extension methods for determining these + /// + int Flags { get; } + /// + /// The type of Nitro subscription + /// + PremiumType? PremiumType { get; } } } diff --git a/src/Discord.Net.Core/Entities/Users/PremiumType.cs b/src/Discord.Net.Core/Entities/Users/PremiumType.cs new file mode 100644 index 000000000..328b68ae2 --- /dev/null +++ b/src/Discord.Net.Core/Entities/Users/PremiumType.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Discord +{ + public enum PremiumType + { + /// + /// Includes app perks like animated emojis and avatars, but not games. + /// + NitroClassic = 1, + /// + /// Includes app perks as wel as the games subscription service. + /// + Nitro = 2 + } +}