File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 41
41
42
42
if TYPE_CHECKING :
43
43
from ..emoji import AppEmoji , GuildEmoji
44
- from .view import BaseView
45
44
from ..types .components import ButtonComponent as ButtonComponentPayload
45
+ from .view import BaseView
46
46
47
47
B = TypeVar ("B" , bound = "Button" )
48
48
V = TypeVar ("V" , bound = "BaseView" , covariant = True )
Original file line number Diff line number Diff line change @@ -339,7 +339,9 @@ def to_component_dict(self) -> LabelComponentPayload:
339
339
self ._set_component_from_item (self .item )
340
340
return super ().to_component_dict ()
341
341
342
- def refresh_from_modal (self , interaction : Interaction , data : LabelComponentPayload ) -> None :
342
+ def refresh_from_modal (
343
+ self , interaction : Interaction , data : LabelComponentPayload
344
+ ) -> None :
343
345
return self .item .refresh_from_modal (interaction , data .get ("component" , {}))
344
346
345
347
@classmethod
You can’t perform that action at this time.
0 commit comments