Added Game(name) constructor
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user