mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-06 03:16:05 -06:00
Ignore & remove confirmation form field
This commit is contained in:
2
form.go
2
form.go
@@ -52,6 +52,8 @@ func FormToComponents(form GetFormResult) []discordgo.MessageComponent {
|
||||
MinLength: 1,
|
||||
MaxLength: 9,
|
||||
}
|
||||
case "vehicleLicensePlateConfirm":
|
||||
log.Debug("Ignored field \"vehicleLicensePlateConfirm\"")
|
||||
default:
|
||||
log.Warnf("unexpected field handled for \"%s\" (%v, %s)", form.propertyName, field.id, field.text)
|
||||
component = discordgo.TextInput{
|
||||
|
||||
Reference in New Issue
Block a user