mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 00:25:14 +00:00
Add support for select components
This commit is contained in:
@ -59,7 +59,10 @@ class Item(Generic[V]):
|
||||
def to_component_dict(self) -> Dict[str, Any]:
|
||||
raise NotImplementedError
|
||||
|
||||
def refresh_state(self, component: Component) -> None:
|
||||
def refresh_component(self, component: Component) -> None:
|
||||
return None
|
||||
|
||||
def refresh_state(self, interaction: Interaction) -> None:
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user