Skip to content

Commit 662a701

Browse files
committed
adds default_member_permissions to CommandBuilder
1 parent a43eb81 commit 662a701

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Discord/Builders/CommandBuilder.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ class CommandBuilder extends Builder implements JsonSerializable
5050
*/
5151
protected ?string $description = null;
5252

53+
/**
54+
* Set of permissions represented as a bit set.
55+
*
56+
* @var string|null
57+
*/
58+
protected ?bool $default_member_permissions = null;
59+
5360
/**
5461
* The default permission of the command. If true the command is enabled when the app is added to the guild. SOON DEPRECATED.
5562
*

0 commit comments

Comments
 (0)