Add support for select components

This commit is contained in:
Rapptz
2021-05-28 05:33:06 -04:00
parent 6874aa73c4
commit ef9f61a933
7 changed files with 334 additions and 8 deletions

View File

@ -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