Deprecation policy
We keep things marked as deprecated until the next major API version. If Discord removes the function, we may remove the method from the library or replace it with a thrown exception depending on the type of function and at our discretion. Such functions which are made to throw will then be removed at the next major API version.
- Member dpp::amod_type_harmful_link
- Removed by Discord
- Member dpp::application::summary
- Will be removed in v11
- Member dpp::channel::is_store_channel () const
- store channels are deprecated by Discord
- Member dpp::CHANNEL_STORE
- Store channels are deprecated by Discord.
- Member dpp::cluster::co_guild_bulk_command_edit_permissions (const std::vector< slashcommand > &commands, snowflake guild_id)
This has been disabled with updates to Permissions v2. You can use guild_command_edit_permissions instead
- Member dpp::cluster::co_guild_member_delete (snowflake guild_id, snowflake user_id)
- Replaced by dpp::cluster::guild_member_kick
- Member dpp::cluster::co_guild_member_delete_role (snowflake guild_id, snowflake user_id, snowflake role_id)
Use dpp::cluster::guild_member_remove_role instead
- Member dpp::cluster::co_guild_set_nickname (snowflake guild_id, const std::string &nickname)
- Deprecated in favor of Modify Current Member. Will be replaced by dpp::cluster::guild_current_member_edit
- Member dpp::cluster::guild_bulk_command_edit_permissions (const std::vector< slashcommand > &commands, snowflake guild_id, command_completion_event_t callback=utility::log_error())
- This has been disabled with updates to Permissions v2. You can use guild_command_edit_permissions instead
- Member dpp::cluster::guild_member_delete (snowflake guild_id, snowflake user_id, command_completion_event_t callback=utility::log_error())
- Replaced by dpp::cluster::guild_member_kick
- Member dpp::cluster::guild_member_delete_role (snowflake guild_id, snowflake user_id, snowflake role_id, command_completion_event_t callback=utility::log_error())
- Use dpp::cluster::guild_member_remove_role instead
- Member dpp::cluster::guild_set_nickname (snowflake guild_id, const std::string &nickname, command_completion_event_t callback=utility::log_error())
- Deprecated in favor of Modify Current Member. Will be replaced by dpp::cluster::guild_current_member_edit
- Member dpp::command_handler
- commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.
- Class dpp::command_info_t
- commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.
- Class dpp::command_source
- commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.
- Member dpp::DPP_DEPRECATED ("commandhandler should not be used. Please consider using dpp::cluster::register_command instead.") commandhandler
- commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.
- Member dpp::g_channel_banners
- Removed by Discord
- Member dpp::g_seven_day_thread_archive
- Removed by Discord
- Member dpp::g_three_day_thread_archive
- Removed by Discord
- Member dpp::GROUP_DM
- this channel type was intended to be used with the now deprecated GameBridge SDK. Existing group dms with bots will continue to function, but newly created channels will be unusable.
- Member dpp::guild::has_channel_banners () const
- Removed by Discord
- Member dpp::guild::has_seven_day_thread_archive () const
- Removed by Discord
- Member dpp::guild::has_three_day_thread_archive () const
- Removed by Discord
- Member dpp::http_request::DPP_DEPRECATED ("Please now use dpp::cluster::request_timeout") time_t request_timeout
- Please now use dpp::cluster::request_timeout
- Member dpp::invite::inviter_id
- Use the
inviter
field instead
- Member dpp::invite::stage
- Deprecated
- Member dpp::message::set_file_content (std::string_view fc)
- Use message::add_file instead
- Member dpp::message::set_filename (std::string_view fn)
- Use message::add_file instead
- Member dpp::region
- Deprecated in favour of per-channel regions. Please use dpp::channel::rtc_region instead.
- Member dpp::role_permissions
- Use dpp::permissions instead.
- Member dpp::slashcommand::add_permission (const command_permission &p)
- Discord discourage use of this value and instead you should use default_member_permissions.
- Member dpp::slashcommand::default_permission
- Discord discourage use of this value and instead you should use slashcommand::default_member_permissions.
- Member dpp::slashcommand::disable_default_permissions ()
- Discord discourage use of this value and instead you should use default_member_permissions.
- Member dpp::slashcommand::dm_permission
- Use dpp::slashcommand_t::set_interaction_contexts instead
- Member dpp::slashcommand::permissions
- Discord discourage use of this value and instead you should use default_member_permissions.
- Member dpp::sticker::asset
- now an empty string but still sent by discord. While discord still send this empty string value, we will still have this field here in the library.
- Member dpp::voice_receive_t::audio
- Please switch to using audio_data.
- Member dpp::voice_receive_t::audio_size
- Please switch to using audio_data.