Rename enums to use official API naming

This commit is contained in:
Rapptz
2021-04-28 01:37:26 -04:00
parent cc800796a2
commit eda6680377
4 changed files with 24 additions and 23 deletions

View File

@@ -51,7 +51,7 @@ if TYPE_CHECKING:
def _walk_all_components(components: List[Component]) -> Iterator[Component]:
for item in components:
if item.type is ComponentType.group:
if item.type is ComponentType.action_row:
yield from item.children
else:
yield item