(string message)
| 551 | #region DISCORD INTEGRATION |
| 552 | |
| 553 | private async Task SendWebhook(string message) |
| 554 | { |
| 555 | String whurl = "https://discord.com/api/webhooks/1363535853695271022/GhWnTvrfkRHsC0BRcuOsiRZdq1ED_JfNO0eWT7rxwNsvnCiDqg1ypwa56vULTveVQ12L"; |
| 556 | Uri uri = new Uri(whurl); |
| 557 | client1.Headers.Add("Content-Type", "application/json"); |
| 558 | |
| 559 | client1.UploadData(whurl, Encoding.UTF8.GetBytes("{ \"content\": \"" + message + "\" }")); |
| 560 | // client1.UploadFileAsync(uri, sFil); |
| 561 | } |
| 562 | private SemaphoreSlim semaphore = new SemaphoreSlim(1, 1); |
| 563 | |
| 564 | private async Task Hooks(string message, string wav) |
nothing calls this directly
no outgoing calls
no test coverage detected