fix DiscordWebHook.cs

This commit is contained in:
SlothDpal
2024-05-24 10:57:54 +03:00
parent 1ed6ca0d0f
commit 34c6a66b0c

View File

@@ -90,7 +90,8 @@ namespace Discord.Webhook
try
{
webhookRequest.UploadData(this.Url, stream.ToArray());
Uri uri = new Uri(this.Url);
webhookRequest.UploadData(uri, stream.ToArray());
}
catch (WebException ex)
{