Skip to content

Commit fa77faa

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 985c640 commit fa77faa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

discord/components.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,7 @@ def __init__(self, data: SelectMenuPayload):
437437
self.channel_types: list[ChannelType] = [
438438
try_enum(ChannelType, ct) for ct in data.get("channel_types", [])
439439
]
440-
self.required: bool | None = data.get(
441-
"required"
442-
)
440+
self.required: bool | None = data.get("required")
443441

444442
def to_dict(self) -> SelectMenuPayload:
445443
payload: SelectMenuPayload = {

0 commit comments

Comments
 (0)