Browse Source

Revert "remove unnecessary usings"

This reverts commit 8d674fe4fa.
pull/2394/head
Cenngo 2 years ago
parent
commit
c93c09e05a
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net.Core/RequestOptions.cs
  2. +3
    -0
      src/Discord.Net.Rest/Net/Queue/Requests/RestRequest.cs

+ 1
- 0
src/Discord.Net.Core/RequestOptions.cs View File

@@ -70,6 +70,7 @@ namespace Discord
internal bool IsClientBucket { get; set; }
internal bool IsReactionBucket { get; set; }
internal bool IsGatewayBucket { get; set; }

internal IDictionary<string, IEnumerable<string?>> RequestHeaders { get; }

internal static RequestOptions CreateOrClone(RequestOptions options)


+ 3
- 0
src/Discord.Net.Rest/Net/Queue/Requests/RestRequest.cs View File

@@ -1,5 +1,8 @@
using Discord.Net.Rest;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;



Loading…
Cancel
Save