mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Remove outdated comment
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user