Explorar el Código

fix(interactions): typo in comment to ModalSubmitData

nitroflap hace 3 años
padre
commit
195a4c4418
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      interactions.go

+ 1 - 1
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 {