Browse Source

add required to select payload

pull/10281/head
z03h 5 days ago
parent
commit
7c17417d76
  1. 1
      discord/components.py

1
discord/components.py

@ -396,6 +396,7 @@ class SelectMenu(Component):
'min_values': self.min_values,
'max_values': self.max_values,
'disabled': self.disabled,
'required': self.required,
}
if self.id is not None:
payload['id'] = self.id

Loading…
Cancel
Save