Deprecated
Table of Contents
CommandAttributes.php
Line | Element | Reason |
---|---|---|
176 | CommandAttributes::setDefaultPermission() | See |
Component.php
Line | Element | Reason |
---|---|---|
36 | Component::TYPE_SELECT_MENU | Use |
Discord.php
Line | Element | Reason |
---|---|---|
1577 | Discord::getHttp() | Use Discord::getHttpClient() |
Channel.php
Line | Element | Reason |
---|---|---|
1154 | Channel::sendEmbed() | Use |
1174 | Channel::sendFile() | Use |
1266 | Channel::allowText() | Use |
1278 | Channel::allowVoice() | Use |
1290 | Channel::allowInvite() | Use |
116 | Channel::TYPE_TEXT | Use |
118 | Channel::TYPE_VOICE | Use |
120 | Channel::TYPE_GROUP | Use |
122 | Channel::TYPE_CATEGORY | Use |
124 | Channel::TYPE_NEWS | Use |
126 | Channel::TYPE_ANNOUNCEMENT | Use |
128 | Channel::TYPE_NEWS_THREAD | Use |
130 | Channel::TYPE_STAGE_CHANNEL | Use |
132 | Channel::TYPE_DIRECTORY | Use |
134 | Channel::TYPE_FORUM | Use |
140 | Channel::FLAG_PINNED | Use |
Message.php
Line | Element | Reason |
---|---|---|
123 | Message::GUILD_MEMBER_JOIN | Use |
125 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION | Use |
127 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1 | Use |
129 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2 | Use |
131 | Message::USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3 | Use |
133 | Message::TYPE_NORMAL | Use |
135 | Message::TYPE_USER_ADDED | Use |
137 | Message::TYPE_USER_REMOVED | Use |
139 | Message::CHANNEL_PINNED_MESSAGE | Use |
141 | Message::CHANNEL_FOLLOW_ADD | Use |
143 | Message::GUILD_DISCOVERY_DISQUALIFIED | Use |
145 | Message::GUILD_DISCOVERY_REQUALIFIED | Use |
147 | Message::GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING | Use |
149 | Message::GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING | Use |
151 | Message::TYPE_APPLICATION_COMMAND | Use |
Embed.php
Line | Element | Reason |
---|---|---|
213 | Embed::setTypeAttribute() | Type |
269 | Embed::setType() | Type |
Guild.php
Line | Element | Reason |
---|---|---|
548 | Guild::getStageInstancesAttribute() | Use |
998 | Guild::validateRegion() | Use |
Part.php
Line | Element | Reason |
---|---|---|
59 | Part::$scriptData | Relying on this variable with dynamic caching is discouraged. |
Thread.php
Line | Element | Reason |
---|---|---|
731 | Thread::sendEmbed() | Use |
Activity.php
Line | Element | Reason |
---|---|---|
63 | Activity::TYPE_PLAYING | Use |
AbstractRepository.php
Line | Element | Reason |
---|---|---|
428 | AbstractRepository::pull() | Use async |
463 | AbstractRepository::pushItem() | Use async |
531 | AbstractRepository::has() | Use async |
602 | AbstractRepository::clear() | Use async |
646 | AbstractRepository::offsetExists() | Use async |
660 | AbstractRepository::offsetGet() | Use async |
683 | AbstractRepository::offsetSet() | Use async |
695 | AbstractRepository::offsetUnset() | Use async |
VoiceClient.php
Line | Element | Reason |
---|---|---|
888 | VoiceClient::playDCAStream() | DCA is now deprecated in DiscordPHP, switch to using
|