From 600c354ab293d1d369f2e54c4a1fb790c8de32b6 Mon Sep 17 00:00:00 2001 From: Alexey Golub Date: Sat, 19 Dec 2020 18:37:38 +0200 Subject: [PATCH] Use Discord API v8 --- DiscordChatExporter.Domain/Discord/DiscordClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordChatExporter.Domain/Discord/DiscordClient.cs b/DiscordChatExporter.Domain/Discord/DiscordClient.cs index 1bc96df..c0450ec 100644 --- a/DiscordChatExporter.Domain/Discord/DiscordClient.cs +++ b/DiscordChatExporter.Domain/Discord/DiscordClient.cs @@ -19,7 +19,7 @@ namespace DiscordChatExporter.Domain.Discord private readonly HttpClient _httpClient; private readonly AuthToken _token; - private readonly Uri _baseUri = new("https://discord.com/api/v6/", UriKind.Absolute); + private readonly Uri _baseUri = new("https://discord.com/api/v8/", UriKind.Absolute); public DiscordClient(HttpClient httpClient, AuthToken token) { @@ -249,4 +249,4 @@ namespace DiscordChatExporter.Domain.Discord } } } -} \ No newline at end of file +}