diff --git a/src/Discord.Net.Core/Entities/Activities/Game.cs b/src/Discord.Net.Core/Entities/Activities/Game.cs index 5943682e0..8891e142c 100644 --- a/src/Discord.Net.Core/Entities/Activities/Game.cs +++ b/src/Discord.Net.Core/Entities/Activities/Game.cs @@ -14,6 +14,8 @@ namespace Discord public ActivityType Type { get; internal set; } /// public ActivityProperties Flags { get; internal set; } + /// + public string Details { get; internal set; } internal Game() { } /// @@ -21,10 +23,12 @@ namespace Discord /// /// The name of the game. /// The type of activity. - public Game(string name, ActivityType type = ActivityType.Playing) + public Game(string name, ActivityType type = ActivityType.Playing, ActivityProperties flags = ActivityProperties.None, string details = null) { Name = name; Type = type; + Flags = flags; + Details = details; } /// Returns the name of the . diff --git a/src/Discord.Net.Core/Entities/Activities/IActivity.cs b/src/Discord.Net.Core/Entities/Activities/IActivity.cs index def7687cc..96704b826 100644 --- a/src/Discord.Net.Core/Entities/Activities/IActivity.cs +++ b/src/Discord.Net.Core/Entities/Activities/IActivity.cs @@ -29,5 +29,12 @@ namespace Discord /// The value of flags for this activity. /// ActivityProperties Flags { get; } + /// + /// Gets the details on what the player is currently doing. + /// + /// + /// A string describing what the player is doing. + /// + string Details { get; } } }