Skip to content

Commit

Permalink
Remove redundant HttpClient injection
Browse files Browse the repository at this point in the history
This was a remnant from f488715
  • Loading branch information
oliverbooth committed Mar 25, 2023
1 parent df642d2 commit 56d7c82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Hammer/Services/BotService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,16 @@ internal sealed class BotService : BackgroundService
private static readonly ILogger Logger = LogManager.GetCurrentClassLogger();

private readonly IServiceProvider _serviceProvider;
private readonly HttpClient _httpClient;
private readonly DiscordClient _discordClient;

/// <summary>
/// Initializes a new instance of the <see cref="BotService" /> class.
/// </summary>
/// <param name="serviceProvider">The service provider.</param>
/// <param name="httpClient">The HTTP client.</param>
/// <param name="discordClient">The Discord client.</param>
public BotService(IServiceProvider serviceProvider, HttpClient httpClient, DiscordClient discordClient)
public BotService(IServiceProvider serviceProvider, DiscordClient discordClient)
{
_serviceProvider = serviceProvider;
_httpClient = httpClient;
_discordClient = discordClient;

var attribute = typeof(BotService).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>();
Expand Down

0 comments on commit 56d7c82

Please sign in to comment.