Skip to content

Commit 87c820e

Browse files
committed
CommandAttributes PHPDoc
1 parent 391e8b8 commit 87c820e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/Builders/CommandAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @property ExCollectionInterface|Option[]|null $options The parameters for the command, max 25. Only for Slash command (CHAT_INPUT).
3939
* @property ?string $default_member_permissions Set of permissions represented as a bit set.
4040
* @property bool|null $dm_permission Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
41-
* @property ?bool $default_permission Whether the command is enabled by default when the app is added to a guild. SOON DEPRECATED.
41+
* @property ?bool $default_permission Whether the command is enabled by default when the app is added to a guild, defaults to true. SOON DEPRECATED.
4242
* @property ?int $guild_id The optional guild ID this command is for. If not set, the command is global.
4343
* @property bool|null $nsfw Indicates whether the command is age-restricted, defaults to `false`.
4444
* @property ExCollectionInterface|null $integration_types Installation contexts where the command is available, only for globally-scoped commands. Defaults to your app's configured contexts

0 commit comments

Comments
 (0)