Skip to content

Commit 3a4f10e

Browse files
committed
PHPDocs
1 parent 31e35bc commit 3a4f10e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Discord/Parts/Guild/OnboardingPromptOption.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818

1919
/**
2020
* Represents an onboarding prompt option for a guild.
21-
*
21+
*
2222
* When creating or updating a prompt option, the emoji_id, emoji_name, and emoji_animated fields must be used instead of the emoji object.
2323
*
2424
* @since 10.26.0
2525
*
2626
* @link https://docs.discord.com/developers/resources/guild#guild-onboarding-object-prompt-option-structure
2727
*
28-
* @property string $id ID of the prompt option.
29-
* @property array $channel_ids IDs for channels a member is added to when the option is selected.
30-
* @property array $role_ids IDs for roles assigned to a member when the option is selected.
31-
* @property object|null $emoji Emoji of the option.
32-
* @property string|null $emoji_id Emoji ID of the option.
33-
* @property string|null $emoji_name Emoji name of the option.
34-
* @property bool|null $emoji_animated Whether the emoji is animated.
35-
* @property string $title Title of the option.
36-
* @property string|null $description Description of the option.
28+
* @property string $id ID of the prompt option.
29+
* @property array $channel_ids IDs for channels a member is added to when the option is selected.
30+
* @property array $role_ids IDs for roles assigned to a member when the option is selected.
31+
* @property ?Emoji|null $emoji Emoji of the option.
32+
* @property ?string|null $emoji_id Emoji ID of the option.
33+
* @property ?string|null $emoji_name Emoji name of the option.
34+
* @property ?bool|null $emoji_animated Whether the emoji is animated.
35+
* @property string $title Title of the option.
36+
* @property string|null $description Description of the option.
3737
*/
3838
class OnboardingPromptOption extends Part
3939
{

0 commit comments

Comments
 (0)