diff --git a/src/Discord.Net.Rest/DiscordRestConfig.cs b/src/Discord.Net.Rest/DiscordRestConfig.cs index 7bf7440ce..a6f0094b0 100644 --- a/src/Discord.Net.Rest/DiscordRestConfig.cs +++ b/src/Discord.Net.Rest/DiscordRestConfig.cs @@ -9,5 +9,15 @@ namespace Discord.Rest { /// Gets or sets the provider used to generate new REST connections. public RestClientProvider RestClientProvider { get; set; } = DefaultRestClientProvider.Instance; + + /// + /// The client Id provided by Discord. Provide this if you want to use the refresh token features. Else they will throw errors if you atempt to use them!! + /// + public string ClientId { get; set; } = null; + /// + /// The client secret provided by Discord. Provide this if you want to use the refresh token features. Else they will throw errors if you atempt to use them!! + /// + public string ClientSecret { get; set; } = null; } + }