mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix views not being persistent if modifying custom_id after __init__
This commit is contained in:
@ -152,6 +152,7 @@ class Button(Item[V]):
|
||||
raise TypeError('custom_id must be None or str')
|
||||
|
||||
self._underlying.custom_id = value
|
||||
self._provided_custom_id = value is not None
|
||||
|
||||
@property
|
||||
def url(self) -> Optional[str]:
|
||||
|
Reference in New Issue
Block a user