mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-17 04:07:01 +00:00
Fix Section.accessory setter not updating view bindings
This commit is contained in:
@@ -117,6 +117,7 @@ class Section(Item[V]):
|
||||
if not isinstance(value, Item):
|
||||
raise TypeError(f'Expected an Item, got {value.__class__.__name__!r} instead')
|
||||
|
||||
value._update_view(self.view)
|
||||
value._parent = self
|
||||
self._accessory = value
|
||||
|
||||
|
Reference in New Issue
Block a user