Преглед на файлове

fix(interactions): typo in comment to ModalSubmitData

nitroflap преди 3 години
родител
ревизия
195a4c4418
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 {