Deprecated
Table of Contents
CommandAttributes.php
| Line | Element | Reason |
|---|---|---|
| 277 | CommandAttributes::setDefaultPermission() | See |
CommandBuilder.php
| Line | Element | Reason |
|---|---|---|
| 136 | CommandBuilder::toArray() | Use |
Component.php
| Line | Element | Reason |
|---|---|---|
| 74 | Component::TYPE_SELECT_MENU | Use |
TextInput.php
| Line | Element | Reason |
|---|---|---|
| 161 | TextInput::setLabel() | Use a top-level |
| 65 | TextInput::$label | Use a top-level |
MessageBuilder.php
| Line | Element | Reason |
|---|---|---|
| 855 | MessageBuilder::_setFlags() | Use MessageBuilder::setFlags() |
| 937 | MessageBuilder::setV2Flag() | use |
Discord.php
| Line | Element | Reason |
|---|---|---|
| 2328 | Discord::getHttp() | Use Discord::getHttpClient() |
DiscordCommandClient.php
| Line | Element | Reason |
|---|---|---|
| 28 | DiscordCommandClient | Use 'MessageCommandClient' |
Factory.php
| Line | Element | Reason |
|---|---|---|
| 57 | Factory::create() | Use |
Channel.php
| Line | Element | Reason |
|---|---|---|
| 149 | Channel::TYPE_TEXT | Use |
| 151 | Channel::TYPE_VOICE | Use |
| 153 | Channel::TYPE_GROUP | Use |
| 155 | Channel::TYPE_CATEGORY | Use |
| 157 | Channel::TYPE_NEWS | Use |
| 159 | Channel::TYPE_ANNOUNCEMENT | Use |
| 161 | Channel::TYPE_NEWS_THREAD | Use |
| 163 | Channel::TYPE_STAGE_CHANNEL | Use |
| 165 | Channel::TYPE_DIRECTORY | Use |
| 167 | Channel::TYPE_FORUM | Use |
| 175 | Channel::FLAG_PINNED | Use |
| 179 | Channel::HIDE_MEDIA_DOWNLOAD_OPTIONS | Use |
| 197 | Channel::FORUM_LAYOUT_GRID_VIEW | Use |
ChannelTrait.php
| Line | Element | Reason |
|---|---|---|
| 168 | ChannelTrait::allowText() | Use |
| 180 | ChannelTrait::allowVoice() | Use |
| 192 | ChannelTrait::allowInvite() | Use |
| 572 | ChannelTrait::sendEmbed() | Use |
| 592 | ChannelTrait::sendFile() | Use |
Embed.php
| Line | Element | Reason |
|---|---|---|
| 237 | Embed::setTypeAttribute() | Type |
| 293 | Embed::setType() | Type |
Message.php
| Line | Element | Reason |
|---|---|---|
| 737 | Message::getMessageSnapshotAttribute() | Use |
| 1115 | Message::deleteReaction() | Use |
| 166 | Message::GUILD_MEMBER_JOIN | Use |
| 168 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION | Use |
| 170 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 | Use |
| 172 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 | Use |
| 174 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 | Use |
| 176 | Message::TYPE_NORMAL | Use |
| 178 | Message::TYPE_USER_ADDED | Use |
| 180 | Message::TYPE_USER_REMOVED | Use |
| 182 | Message::CHANNEL_PINNED_MESSAGE | Use |
| 184 | Message::CHANNEL_FOLLOW_ADD | Use |
| 186 | Message::GUILD_DISCOVERY_DISQUALIFIED | Use |
| 188 | Message::GUILD_DISCOVERY_REQUALIFIED | Use |
| 190 | Message::GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING | Use |
| 192 | Message::GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING | Use |
| 194 | Message::TYPE_APPLICATION_COMMAND | Use |
| 211 | Message::FLAG_SUPPRESS_EMBED | Use |
| 233 | Message::FLAG_IS_V2_COMPONENTS | Use |
Entry.php
| Line | Element | Reason |
|---|---|---|
| 175 | Entry::VOICE_CHANNEL_STATUS_UPDATE | use |
Guild.php
| Line | Element | Reason |
|---|---|---|
| 708 | Guild::getStageInstancesAttribute() | Use |
| 1142 | Guild::validateRegion() | Use |
| 211 | Guild::LEVEL_OFF | use |
| 219 | Guild::LEVEL_TABLEFLIP | use |
| 223 | Guild::LEVEL_DOUBLE_TABLEFLIP | use |
Member.php
| Line | Element | Reason |
|---|---|---|
| 731 | Member::getDiscriminatorAttribute() | Use |
Role.php
| Line | Element | Reason |
|---|---|---|
| 152 | Role::setColor() | Use |
| 58 | Role::IN_PROMPT | use |
Component.php
| Line | Element | Reason |
|---|---|---|
| 50 | Component | Use \Discord\Parts\Channel\Message\Component` instead. |
Part.php
| Line | Element | Reason |
|---|---|---|
| 62 | Part::$scriptData | Relying on this variable with dynamic caching is discouraged. |
Permission.php
| Line | Element | Reason |
|---|---|---|
| 389 | Permission::getManageEmojisAndStickersAttribute() | Use |
| 397 | Permission::setManageEmojisAndStickersAttribute() | Use |
Activity.php
| Line | Element | Reason |
|---|---|---|
| 63 | Activity::TYPE_GAME | Use |
User.php
| Line | Element | Reason |
|---|---|---|
| 72 | User::FLAG_DISCORD_EMPLOYEE | use |
| 76 | User::FLAG_DISCORD_PARTNER | use |
| 80 | User::FLAG_HYPESQUAD_EVENTS | use |
| 98 | User::FLAG_EARLY_SUPPORTER | use |
| 102 | User::FLAG_TEAM_USER | use |
| 112 | User::FLAG_VERIFIED_BOT_DEVELOPER | use |
| 116 | User::FLAG_DISCORD_CERTIFIED_MODERATOR | use |
AbstractRepositoryInterface.php
| Line | Element | Reason |
|---|---|---|
| 68 | AbstractRepositoryInterface::save() | Use |
| 155 | AbstractRepositoryInterface::toArray() | Use |
AbstractRepositoryTrait.php
| Line | Element | Reason |
|---|---|---|
| 194 | AbstractRepositoryTrait::save() | Use |
| 449 | AbstractRepositoryTrait::pull() | Use async |
| 485 | AbstractRepositoryTrait::pushItem() | Use async |
| 561 | AbstractRepositoryTrait::has() | Use async |
| 635 | AbstractRepositoryTrait::clear() | Use async |
| 648 | AbstractRepositoryTrait::toArray() | Use |
| 683 | AbstractRepositoryTrait::offsetExists() | Use async |
| 698 | AbstractRepositoryTrait::offsetGet() | Use async |
| 721 | AbstractRepositoryTrait::offsetSet() | Use async |
| 733 | AbstractRepositoryTrait::offsetUnset() | Use async |
ChannelRepository.php
| Line | Element | Reason |
|---|---|---|
| 70 | ChannelRepository::createChannel() | use |
| 89 | ChannelRepository::build() | Use |
VoiceStateRepository.php
| Line | Element | Reason |
|---|---|---|
| 73 | VoiceStateRepository::getVoiceRegions() | Use |
OldRecieveStream.php
| Line | Element | Reason |
|---|---|---|
| 24 | OldRecieveStream | use ReceiveStream |
OldVoiceClient.php
| Line | Element | Reason |
|---|---|---|
| 1526 | OldVoiceClient::setBitrate() | This data is now taken from the Channel. |
| 1821 | OldVoiceClient::getRecieveStream() | use self::getReceiveStream() |
VoicePacket.php
| Line | Element | Reason |
|---|---|---|
| 176 | VoicePacket::initBufferEncryption() | Use |
Op.php
| Line | Element | Reason |
|---|---|---|
| 45 | Op::OP_PRESENCE_UPDATE | Use |
| 49 | Op::OP_VOICE_STATE_UPDATE | Use |
| 59 | Op::OP_GUILD_MEMBER_CHUNK | Use |
| 84 | Op::VOICE_SELECT_PROTO | use VOICE_SELECT_PROTOCOL |
| 92 | Op::VOICE_DESCRIPTION | use VOICE_SESSION_DESCRIPTION |