mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add support for select components
This commit is contained in:
1 parent
6874aa73c4
commit
ef9f61a933
7 files changed
+334
-8
No files matched your search
@@ -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