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):
11151115 if components is not None :
11161116 _components = []
11171117 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 ):
11191119 if isinstance (component , Button ):
11201120 _components .extend (ActionRow (component ).sendable ())
11211121 elif isinstance (component , DropdownMenue ):
@@ -1649,7 +1649,7 @@ async def edit(self, **fields):
16491649 else :
16501650 _components = []
16511651 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 ):
16531653 if isinstance (component , Button ):
16541654 _components .extend (ActionRow (component ).sendable ())
16551655 elif isinstance (component , DropdownMenue ):
You can’t perform that action at this time.
0 commit comments