fix(interactions): typo in comment to ModalSubmitData
This commit is contained in:
parent
e44c83a1fc
commit
195a4c4418
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue