|
|
@@ -36,6 +36,7 @@ namespace Discord.Rest |
|
|
|
/// <inheritdoc /> |
|
|
|
public TokenType TokenType => ApiClient.AuthTokenType; |
|
|
|
internal bool UseInteractionSnowflakeDate { get; private set; } |
|
|
|
internal bool FormatUsersInBidirectionalUnicode { get; private set; } |
|
|
|
|
|
|
|
/// <summary> Creates a new REST-only Discord client. </summary> |
|
|
|
internal BaseDiscordClient(DiscordRestConfig config, API.DiscordRestApiClient client) |
|
|
@@ -49,6 +50,7 @@ namespace Discord.Rest |
|
|
|
_isFirstLogin = config.DisplayInitialLog; |
|
|
|
|
|
|
|
UseInteractionSnowflakeDate = config.UseInteractionSnowflakeDate; |
|
|
|
FormatUsersInBidirectionalUnicode = config.FormatUsersInBidirectionalUnicode; |
|
|
|
|
|
|
|
ApiClient.RequestQueue.RateLimitTriggered += async (id, info, endpoint) => |
|
|
|
{ |
|
|
|