Browse Source

Revert "Variable set to event"

This reverts commit 2b0cb81d76.
pull/2213/head
Armano den Boef 3 years ago
parent
commit
2a914f16ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Interactions/InteractionService.cs

+ 1
- 1
src/Discord.Net.Interactions/InteractionService.cs View File

@@ -812,7 +812,7 @@ namespace Discord.Interactions

internal async Task InvokeResultEventsAsync(ICommandInfo info, IInteractionContext context, IResult result)
{
await _interactionExecutedEvent.InvokeAsync(info, context, result).ConfigureAwait(false);
await _interactionExecutedEvent.InvokeAsync(null, context, result).ConfigureAwait(false);
if (info is not null)
{
switch (info)


Loading…
Cancel
Save