Skip to content

Commit 69f06c9

Browse files
authored
Fix Select.required not being applied
1 parent d5946d1 commit 69f06c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discord/components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ def to_dict(self) -> SelectMenuPayload:
396396
'min_values': self.min_values,
397397
'max_values': self.max_values,
398398
'disabled': self.disabled,
399+
'required': self.required,
399400
}
400401
if self.id is not None:
401402
payload['id'] = self.id

0 commit comments

Comments
 (0)