diff --git a/src/InteractiveGuards.cs b/src/InteractiveGuards.cs index 6a66a6c..fd48063 100644 --- a/src/InteractiveGuards.cs +++ b/src/InteractiveGuards.cs @@ -131,8 +131,7 @@ public static void ValidResponseType(InteractionResponseType responseType, [Call public static void ValidResponseType(InteractionResponseType responseType, IDiscordInteraction interaction, [CallerArgumentExpression(nameof(responseType))] string? parameterName = null) { - if (interaction is not IComponentInteraction && - responseType is InteractionResponseType.DeferredUpdateMessage or InteractionResponseType.UpdateMessage) + if (interaction is not IComponentInteraction && responseType is InteractionResponseType.UpdateMessage) { throw new ArgumentException($"Interaction response type {responseType} can only be used on component interactions.", parameterName); } diff --git a/src/InteractiveService.cs b/src/InteractiveService.cs index 5fc134b..a47c460 100644 --- a/src/InteractiveService.cs +++ b/src/InteractiveService.cs @@ -880,7 +880,6 @@ await interaction.RespondWithFilesAsync(attachments ?? Enumerable.Empty