File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Discord/Parts/Channel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1416,7 +1416,7 @@ public function getCreatableAttributes(): array
14161416 // Marked "Channel Type: All" in documentation
14171417 $ attr += $ this ->makeOptionalAttributes ([
14181418 'type ' => $ this ->type ,
1419- 'permission_overwrites ' => $ this ->permission_overwrites ,
1419+ 'permission_overwrites ' => $ this ->getPermissionOverwritesAttribute () ,
14201420 'position ' => $ this ->position ,
14211421 ]);
14221422
@@ -1509,7 +1509,7 @@ public function getUpdatableAttributes(): array
15091509 $ attr = [
15101510 'name ' => $ this ->name ,
15111511 'position ' => $ this ->position ,
1512- 'permission_overwrites ' => $ this ->permission_overwrites ,
1512+ 'permission_overwrites ' => $ this ->getPermissionOverwritesAttribute () ,
15131513 ];
15141514
15151515 switch ($ this ->type ) {
You can’t perform that action at this time.
0 commit comments