|
|
@@ -235,7 +235,7 @@ namespace Discord.API |
|
|
|
options.BucketId = bucketId; |
|
|
|
|
|
|
|
string json = payload != null ? SerializeJson(payload) : null; |
|
|
|
Console.WriteLine($"Sending JSON....\n{json}"); |
|
|
|
|
|
|
|
var request = new JsonRestRequest(RestClient, method, endpoint, json, options); |
|
|
|
return DeserializeJson<TResponse>(await SendInternalAsync(method, endpoint, request).ConfigureAwait(false)); |
|
|
|
} |
|
|
|