DiscordPHP Documentation

Errors

Table of Contents

src/Discord/Builders/CommandAttributes.php 2
src/Discord/Builders/CommandBuilder.php 1
src/Discord/Helpers/CacheWrapper.php 1
src/Discord/Parts/Channel/Attachment.php 2
src/Discord/Parts/Channel/Channel.php 5
src/Discord/Parts/Channel/ChannelTrait.php 3
src/Discord/Parts/Channel/Message/MessageCall.php 1
src/Discord/Parts/Channel/Message/MessageInteractionMetadata.php 5
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/GuildPreview.php 2
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/Interactions/Request/Resolved.php 1
src/Discord/Parts/Monetization/SKU.php 1
src/Discord/Parts/User/Activity.php 3
src/Discord/Parts/User/Client.php 1
src/Discord/Parts/User/Collectibles.php 1
src/Discord/Parts/User/Member.php 5
src/Discord/Parts/User/Nameplate.php 2
src/Discord/Parts/User/PrimaryGuild.php 2
src/Discord/Parts/User/User.php 9
src/Discord/Parts/WebSockets/VoiceStateUpdate.php 1

CommandAttributes.php

Type Line Description
ERROR 48 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 48 Tag "@property" with body "@@property ?string[]|null $name_localizations Localization dictionary for the name field. Values follow the same restrictions as name." has error

CommandBuilder.php

Type Line Description
ERROR 65 Tag "@var" with body "@@var ExCollectionInterface<Option|Option[]|null" has error

CacheWrapper.php

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

Attachment.php

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

Channel.php

Type Line Description
ERROR 83 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 83 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 83 Tag "@property" with body "@@property ?string|null $rtc_region Voice region id for the voice channel, automatic when set to null." has error
ERROR 83 Tag "@property" with body "@@property ?string|null $icon Icon hash." has error
ERROR 83 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

ChannelTrait.php

Type Line Description
ERROR 360 Tag "@return" with body "@@return PromiseInterface<Collection<MessagePinData>" has error
ERROR 62 Tag "@property" with body "@@property ?string|null $last_message_id The unique identifier of the last message sent in the channel or thread. (may not point to an existing or valid message or thread)." has error
ERROR 62 Tag "@property" with body "@@property ?string|null $name The name of the channel or thread." has error

MessageCall.php

Type Line Description
ERROR 32 Tag "@property" with body "@@property ?Carbon|null $ended_timestamp Time when the call ended (ISO8601 timestamp), or null if ongoing." has error

MessageInteractionMetadata.php

Type Line Description
ERROR 47 Tag "@property-read" with body "@@property-read ?Message|null $interacted_message The message that contained the interactive component (message component interactions only)." has error
ERROR 47 Tag "@property-read" with body "@@property-read ?Message|null $target_message The message the command was run on (message command interactions only)." has error
ERROR 47 Tag "@property-read" with body "@@property-read ?Message|null $original_response_message The original response message (follow-ups only)." has error
ERROR 47 Tag "@property-read" with body "@@property-read ?Channel|null $channel The channel the interaction was sent in." has error
ERROR 47 Tag "@property-read" with body "@@property-read ?Guild|null $guild The guild the interaction was sent in." has error

Webhook.php

Type Line Description
ERROR 51 Tag "@property" with body "@@property ?string|null $channel_id The channel ID this webhook is for, if any." has error
ERROR 51 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 146 Tag "@return" with body "@@return ExCollectionInterface|?Channel[] A collection of channels exempt from the rule." has error
ERROR 122 Tag "@return" with body "@@return ExCollectionInterface|?Role[] A collection of roles exempt from the rule." has error
ERROR 50 Tag "@property" with body "@@property ExCollectionInterface|?Channel[] $exempt_channels The channel ids that should not be affected by the rule (Maximum of 50)." has error
ERROR 50 Tag "@property" with body "@@property ExCollectionInterface|?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 160 Tag "@property" with body "@@property ?string|null $widget_channel_id Channel that the widget will create an invite to." has error
ERROR 160 Tag "@property" with body "@@property ?string|null $splash_hash The splash hash for the guild." has error
ERROR 160 Tag "@property" with body "@@property ?string|null $icon_hash The icon hash for the guild." has error

GuildPreview.php

Type Line Description
ERROR 75 Tag "@property" with body "@@property ?string|null $splash_hash The splash hash for the guild." has error
ERROR 75 Tag "@property" with body "@@property ?string|null $icon_hash The icon hash for the guild." has error

Role.php

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

ScheduledEvent.php

Type Line Description
ERROR 54 Tag "@property" with body "@@property ?string|null $image The cover image URL of the scheduled event." has error
ERROR 54 Tag "@property" with body "@@property ?string|null $description The description of the scheduled event (1-1000 characters)." has error
ERROR 54 Tag "@property" with body "@@property ?string|null $creator_id The id of the user that created the scheduled event." has error
ERROR 54 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 32 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 44 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 44 Tag "@property" with body "@@property ?string[]|null $name_localizations Localization dictionary for the name field. Values follow the same restrictions as name." has error

Resolved.php

Type Line Description
ERROR 45 Tag "@property-read" with body "@@property-read ?Guild|null $guild The guild the interaction was sent in." has error

SKU.php

Type Line Description
ERROR 26 Tag "@property" with body "@@property string slug System-generated URL slug." has error

Activity.php

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

Client.php

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

Collectibles.php

Type Line Description
ERROR 25 Tag "@property" with body "@@property ?Nameplate|null $nameplate The nameplate collectible object, if present." has error

Member.php

Type Line Description
ERROR 773 Tag "@return" with body "@@return ?string|null The member avatar's hash or null." has error
ERROR 235 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 74 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 74 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 74 Tag "@property" with body "@@property ?string|null $nick The nickname of the member." has error

Nameplate.php

Type Line Description
ERROR 33 Tag "@property" with body "@@property ?string|null $label The label of this nameplate." has error
ERROR 33 Tag "@property" with body "@@property ?string|null $expires_at The date and time when the nameplate expires." has error

PrimaryGuild.php

Type Line Description
ERROR 34 Tag "@property-read" with body "@@property-read ?Guild|null $guild The primary guild, if available." has error
ERROR 34 Tag "@property-read" with body "@@property-read ?string|null $id The identifier of the primary guild." has error

User.php

Type Line Description
ERROR 318 Tag "@return" with body "@@return ?Collectibles|null The collectibles data." has error
ERROR 304 Tag "@return" with body "@@return ?AvatarDecorationData|null The avatar decoration." has error
ERROR 294 Tag "@return" with body "@@return ?string|null The client banner's hash." has error
ERROR 62 Tag "@property" with body "@@property ?PrimaryGuild|null $primary_guild The user's primary guild" has error
ERROR 62 Tag "@property" with body "@@property ?Collectibles|null $collectibles Data for the user's collectibles." has error
ERROR 62 Tag "@property" with body "@@property ?AvatarDecorationData|null $avatar_decoration_data Data for the user's avatar decoration." has error
ERROR 62 Tag "@property" with body "@@property ?string|null $email User email." has error
ERROR 62 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 62 Tag "@property" with body "@@property ?string|null $banner The banner URL of the user." has error

VoiceStateUpdate.php

Type Line Description
ERROR 47 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