diff --git a/src/Discord.Net/Common/Entities/Users/Game.cs b/src/Discord.Net/Common/Entities/Users/Game.cs index 51d9c0b18..ee5559165 100644 --- a/src/Discord.Net/Common/Entities/Users/Game.cs +++ b/src/Discord.Net/Common/Entities/Users/Game.cs @@ -6,6 +6,12 @@ public string StreamUrl { get; } public StreamType StreamType { get; } + public Game(string name) + { + Name = name; + StreamUrl = null; + StreamType = StreamType.NotStreaming; + } public Game(string name, string streamUrl, StreamType type) { Name = name; diff --git a/src/Discord.Net/project.json b/src/Discord.Net/project.json index 947633661..01b6bd4dc 100644 --- a/src/Discord.Net/project.json +++ b/src/Discord.Net/project.json @@ -3,11 +3,6 @@ "description": "A Discord.Net extension adding voice support.", "authors": [ "RogueException" ], - "buildOptions": { - "allowUnsafe": true, - "warningsAsErrors": false - }, - "packOptions": { "tags": [ "discord", "discordapp" ], "licenseUrl": "http://opensource.org/licenses/MIT", @@ -18,6 +13,11 @@ } }, + "buildOptions": { + "allowUnsafe": true, + "warningsAsErrors": false + }, + "dependencies": { "NETStandard.Library": "1.5.0-rc2-24027", "Newtonsoft.Json": "8.0.3",