Skip to content

Commit

Permalink
Remove unused DiscordConfig parameter from DefaultInteractionServiceH…
Browse files Browse the repository at this point in the history
…andler constructor
  • Loading branch information
HEJOK254 committed Sep 22, 2024
1 parent eb7e185 commit a17d3a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Commands/InteractionServiceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ internal sealed class DefaultInteractionServiceHandler : IInteractionServiceHand
private readonly DiscordSocketClient _client;
private InteractionService _interactionService;
private readonly InteractionServiceConfig _interactionServiceConfig;
private readonly Config.DiscordConfig _discordConfig;
private static readonly SemaphoreSlim _initSemaphore = new(1);
private static bool isReady = false;

public DefaultInteractionServiceHandler(DiscordSocketClient client, InteractionService interactionService, Config.DiscordConfig discordConfig, InteractionServiceConfig interactionServiceConfig)
public DefaultInteractionServiceHandler(DiscordSocketClient client, InteractionService interactionService, InteractionServiceConfig interactionServiceConfig)
{
_client = client;
_interactionService = interactionService;
_discordConfig = discordConfig;
_interactionServiceConfig = interactionServiceConfig;
}

Expand Down

0 comments on commit a17d3a9

Please sign in to comment.