Use API v3
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Discord.Net.WebSockets
|
|||||||
[JsonProperty(PropertyName = "token")]
|
[JsonProperty(PropertyName = "token")]
|
||||||
public string Token;
|
public string Token;
|
||||||
[JsonProperty(PropertyName = "v")]
|
[JsonProperty(PropertyName = "v")]
|
||||||
public int Version = 2;
|
public int Version = 3;
|
||||||
[JsonProperty(PropertyName = "properties")]
|
[JsonProperty(PropertyName = "properties")]
|
||||||
public Dictionary<string, string> Properties = new Dictionary<string, string>();
|
public Dictionary<string, string> Properties = new Dictionary<string, string>();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user