mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
Use Discord API v8
This commit is contained in:
parent
d8dc12b3f7
commit
600c354ab2
|
|
@ -19,7 +19,7 @@ namespace DiscordChatExporter.Domain.Discord
|
||||||
private readonly HttpClient _httpClient;
|
private readonly HttpClient _httpClient;
|
||||||
private readonly AuthToken _token;
|
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)
|
public DiscordClient(HttpClient httpClient, AuthToken token)
|
||||||
{
|
{
|
||||||
|
|
@ -249,4 +249,4 @@ namespace DiscordChatExporter.Domain.Discord
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue