DiscordPHP Documentation

Errors

Table of Contents

src/Discord/Builders/CommandAttributes.php 2
src/Discord/Helpers/CacheWrapper.php 1
src/Discord/Parts/Channel/Attachment.php 2
src/Discord/Parts/Channel/Channel.php 8
src/Discord/Parts/Channel/Webhook.php 2
src/Discord/Parts/Guild/AutoModeration/Rule.php 4
src/Discord/Parts/Guild/Guild.php 3
src/Discord/Parts/Guild/Role.php 2
src/Discord/Parts/Guild/ScheduledEvent.php 4
src/Discord/Parts/Interactions/Command/Choice.php 1
src/Discord/Parts/Interactions/Command/Option.php 2
src/Discord/Parts/User/Activity.php 3
src/Discord/Parts/User/Client.php 1
src/Discord/Parts/User/Member.php 5
src/Discord/Parts/User/User.php 4
src/Discord/Parts/WebSockets/VoiceStateUpdate.php 1

CommandAttributes.php

Type Line Description
ERROR 41 Tag "@property" with body "@@property ?string[]|null $description_localizations Localization dictionary for the description field. Values follow the same restrictions as description." has error
ERROR 41 Tag "@property" with body "@@property ?string[]|null $name_localizations Localization dictionary for the name field. Values follow the same restrictions as name." has error

CacheWrapper.php

Type Line Description
ERROR 51 Tag "@var" with body "@@var ?Part[]|WeakReference[] Cache Key => Cache Part." has error

Attachment.php

Type Line Description
ERROR 34 Tag "@property" with body "@@property ?int|null $width Width of file (if image)." has error
ERROR 34 Tag "@property" with body "@@property ?int|null $height Height of file (if image)." has error

Channel.php

Type Line Description
ERROR 104 Tag "@property" with body "@@property ?int|null $default_sort_order The default sort order type used to order posts in forum channels." has error
ERROR 104 Tag "@property" with body "@@property ?Reaction|null $default_reaction_emoji Emoji to show in the add reaction button on a thread in a forum channel." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $rtc_region Voice region id for the voice channel, automatic when set to null." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $parent_id ID of the parent channel." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $icon Icon hash." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $last_message_id The unique identifier of the last message sent in the channel (or thread for forum channels) (may not point to an existing or valid message or thread)." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $topic The topic of the channel (0-4096 characters for forum channels, 0-1024 characters for all others)." has error
ERROR 104 Tag "@property" with body "@@property ?string|null $name The name of the channel." has error

Webhook.php

Type Line Description
ERROR 49 Tag "@property" with body "@@property ?string|null $channel_id The channel ID this webhook is for, if any." has error
ERROR 49 Tag "@property" with body "@@property ?string|null $guild_id The guild ID this webhook is for, if any." has error

Rule.php

Type Line Description
ERROR 144 Tag "@return" with body "@@return CollectionInterface|?Channel[] A collection of channels exempt from the rule." has error
ERROR 120 Tag "@return" with body "@@return CollectionInterface|?Role[] A collection of roles exempt from the rule." has error
ERROR 48 Tag "@property" with body "@@property CollectionInterface|?Channel[] $exempt_channels The channel ids that should not be affected by the rule (Maximum of 50)." has error
ERROR 48 Tag "@property" with body "@@property CollectionInterface|?Role[] $exempt_roles The role ids that should not be affected by the rule (Maximum of 20)." has error

Guild.php

Type Line Description
ERROR 152 Tag "@property" with body "@@property ?string|null $widget_channel_id Channel that the widget will create an invite to." has error
ERROR 152 Tag "@property" with body "@@property ?string|null $splash_hash The splash hash for the guild." has error
ERROR 152 Tag "@property" with body "@@property ?string|null $icon_hash The icon hash for the guild." has error

Role.php

Type Line Description
ERROR 42 Tag "@property" with body "@@property ?string|null $unicode_emoji The unicode emoji for the role." has error
ERROR 42 Tag "@property" with body "@@property ?string|null $icon The URL to the role icon." has error

ScheduledEvent.php

Type Line Description
ERROR 52 Tag "@property" with body "@@property ?string|null $image The cover image URL of the scheduled event." has error
ERROR 52 Tag "@property" with body "@@property ?string|null $description The description of the scheduled event (1-1000 characters)." has error
ERROR 52 Tag "@property" with body "@@property ?string|null $creator_id The id of the user that created the scheduled event." has error
ERROR 52 Tag "@property" with body "@@property ?string|null $channel_id The channel id in which the scheduled event will be hosted, or null if scheduled entity type is EXTERNAL." has error

Choice.php

Type Line Description
ERROR 30 Tag "@property" with body "@@property ?string[]|null $name_localizations Localization dictionary for the name field. Values follow the same restrictions as name." has error

Option.php

Type Line Description
ERROR 42 Tag "@property" with body "@@property ?string[]|null $description_localizations Localization dictionary for the description field. Values follow the same restrictions as description." has error
ERROR 42 Tag "@property" with body "@@property ?string[]|null $name_localizations Localization dictionary for the name field. Values follow the same restrictions as name." has error

Activity.php

Type Line Description
ERROR 43 Tag "@property" with body "@@property ?string|null $state The user's current party status, or text used for a custom status." has error
ERROR 43 Tag "@property" with body "@@property ?string|null $details What the player is currently doing." has error
ERROR 43 Tag "@property" with body "@@property ?string|null $url Stream url, is validated when type is 1." has error

Client.php

Type Line Description
ERROR 51 Tag "@property" with body "@@property ?string|null $email The email of the client." has error

Member.php

Type Line Description
ERROR 769 Tag "@return" with body "@@return ?string|null The member avatar's hash or null." has error
ERROR 231 Tag "method" with body "@method Channel|?string $channel The channel to move the member to." has error Unexpected token "?", expected type at offset 8 on line 1
ERROR 70 Tag "@property" with body "@@property ?string|null $avatar_hash The avatar hash of the member or null if member has no guild avatar." has error
ERROR 70 Tag "@property" with body "@@property ?string|null $avatar The avatar URL of the member or null if member has no guild avatar." has error
ERROR 70 Tag "@property" with body "@@property ?string|null $nick The nickname of the member." has error

User.php

Type Line Description
ERROR 286 Tag "@return" with body "@@return ?string|null The client banner's hash." has error
ERROR 56 Tag "@property" with body "@@property ?string|null $email User email." has error
ERROR 56 Tag "@property" with body "@@property ?int|null $accent_color The user's banner color encoded as an integer representation of hexadecimal color code." has error
ERROR 56 Tag "@property" with body "@@property ?string|null $banner The banner URL of the user." has error

VoiceStateUpdate.php

Type Line Description
ERROR 45 Tag "@property" with body "@@property ?string|null $channel_id Channel ID that the voice state came from, or null if the user is leaving a channel." has error

Search results