Skip to content

Commit 65a1116

Browse files
authored
fixes
1 parent 35e4cb1 commit 65a1116

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

discord/ui/action_row.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def enable_all_items(self, *, exclusions: list[Item] | None = None) -> Self:
376376
A list of items in `self.children` to not enable.
377377
"""
378378
for item in self.walk_items():
379-
if exclusions is None or item not in exclusions
379+
if exclusions is None or item not in exclusions:
380380
item.disabled = False
381381
return self
382382

discord/ui/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
from collections.abc import Sequence
4-
from typing import TYPE_CHECKING, Iterator, TypeVar
4+
from typing import TYPE_CHECKING, Iterator, TypeVar, Literal, overload
55

66
from ..components import Label as LabelComponent
77
from ..components import SelectDefaultValue, SelectOption, _component_factory

0 commit comments

Comments
 (0)