File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ async def edit(self, **fields):
1115
1115
if components is not None :
1116
1116
_components = []
1117
1117
if components is not None :
1118
- for component in ([components ] if not type (components ) == list else components ):
1118
+ for component in ([components ] if not isinstance (components , list ) else components ):
1119
1119
if isinstance (component , Button ):
1120
1120
_components .extend (ActionRow (component ).sendable ())
1121
1121
elif isinstance (component , DropdownMenue ):
@@ -1649,7 +1649,7 @@ async def edit(self, **fields):
1649
1649
else :
1650
1650
_components = []
1651
1651
if components is not None :
1652
- for component in ([components ] if not type (components ) == list else components ):
1652
+ for component in ([components ] if not isinstance (components , list ) else components ):
1653
1653
if isinstance (component , Button ):
1654
1654
_components .extend (ActionRow (component ).sendable ())
1655
1655
elif isinstance (component , DropdownMenue ):
You can’t perform that action at this time.
0 commit comments