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

@ -202,7 +202,7 @@ class Button(Item[V]):
def is_dispatchable(self) -> bool:
return True
def refresh_state(self, button: ButtonComponent) -> None:
def refresh_component(self, button: ButtonComponent) -> None:
self._underlying = button