mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Ensure views added to Client.add_view are persistent views
This commit is contained in:
@ -101,6 +101,7 @@ class Select(Item[V]):
|
||||
row: Optional[int] = None,
|
||||
) -> None:
|
||||
self._selected_values: List[str] = []
|
||||
self._provided_custom_id = custom_id is not MISSING
|
||||
custom_id = os.urandom(16).hex() if custom_id is MISSING else custom_id
|
||||
options = [] if options is MISSING else options
|
||||
self._underlying = SelectMenu._raw_construct(
|
||||
|
Reference in New Issue
Block a user