Procházet zdrojové kódy

fix(interactions): typo in comment to ModalSubmitData

nitroflap před 3 roky
rodič
revize
195a4c4418
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {