mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-28 14:05:05 +00:00
Remove outdated comment
This commit is contained in:
parent
59e28af19f
commit
20f4bc40ad
@ -241,7 +241,6 @@ class Section(Item[V]):
|
||||
def from_component(cls, component: SectionComponent) -> Self:
|
||||
from .view import _component_to_item
|
||||
|
||||
# using MISSING as accessory so we can create the new one with the parent set
|
||||
accessory = _component_to_item(component.accessory, None)
|
||||
self = cls(id=component.id, accessory=accessory)
|
||||
self.id = component.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user