mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add Client.remove_dynamic_items
This commit is contained in:
@ -401,6 +401,9 @@ class ConnectionState(Generic[ClientT]):
|
||||
def store_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -> None:
|
||||
self._view_store.add_dynamic_items(*items)
|
||||
|
||||
def remove_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -> None:
|
||||
self._view_store.remove_dynamic_items(*items)
|
||||
|
||||
@property
|
||||
def persistent_views(self) -> Sequence[View]:
|
||||
return self._view_store.persistent_views
|
||||
|
Reference in New Issue
Block a user