mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Add support for select components
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user