fix(examples/modals): renamed InputText to TextInput

This commit is contained in:
nitroflap 2022-02-09 03:45:50 +03:00
parent a0095c14ed
commit 1b48b9b22e
No known key found for this signature in database
GPG key ID: 810F53DB0E0F81A8

View file

@ -51,7 +51,7 @@ var (
Components: []discordgo.MessageComponent{
discordgo.ActionsRow{
Components: []discordgo.MessageComponent{
discordgo.InputText{
discordgo.TextInput{
CustomID: "opinion",
Label: "What is your opinion on them?",
Style: discordgo.TextStyleShort,
@ -63,7 +63,7 @@ var (
},
discordgo.ActionsRow{
Components: []discordgo.MessageComponent{
discordgo.InputText{
discordgo.TextInput{
CustomID: "suggestions",
Label: "What would you suggest to improve them?",
Style: discordgo.TextStyleParagraph,