From 195a4c4418d10486b02df93b0488a8a449bc4892 Mon Sep 17 00:00:00 2001 From: nitroflap Date: Wed, 16 Feb 2022 02:15:16 +0300 Subject: [PATCH] fix(interactions): typo in comment to ModalSubmitData --- interactions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions.go b/interactions.go index b71ebb1..1658af3 100644 --- a/interactions.go +++ b/interactions.go @@ -218,7 +218,7 @@ func (i Interaction) ApplicationCommandData() (data ApplicationCommandInteractio return i.Data.(ApplicationCommandInteractionData) } -// ModalSubmitData is helper function to assert the innter InteractionData to ModalSubmitInteractionData. +// ModalSubmitData is helper function to assert the inner InteractionData to ModalSubmitInteractionData. // Make sure to check that the Type of the interaction is InteractionModalSubmit before calling. func (i Interaction) ModalSubmitData() (data ModalSubmitInteractionData) { if i.Type != InteractionModalSubmit {