Use Discord API v8

pull/466/head
Alexey Golub 4 years ago committed by GitHub
parent d8dc12b3f7
commit 600c354ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}
}
}
}
}

Loading…
Cancel
Save