mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: update to Discord API v10
This commit is contained in:
parent
6a4033b2a9
commit
32a73eef09
13 changed files with 28 additions and 27 deletions
|
|
@ -11,7 +11,7 @@ namespace Myriad.Rest;
|
|||
public class DiscordApiClient
|
||||
{
|
||||
public const string UserAgent = "DiscordBot (https://github.com/xSke/PluralKit/tree/main/Myriad/, v1)";
|
||||
private const string DefaultApiBaseUrl = "https://discord.com/api/v9";
|
||||
private const string DefaultApiBaseUrl = "https://discord.com/api/v10";
|
||||
private readonly BaseRestClient _client;
|
||||
|
||||
public EventHandler<(string, int, long)> OnResponseEvent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue