fix(interactions): typo in comment to ModalSubmitData

This commit is contained in:
nitroflap 2022-02-16 02:15:16 +03:00
parent e44c83a1fc
commit 195a4c4418
No known key found for this signature in database
GPG key ID: 810F53DB0E0F81A8

View file

@ -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 {