DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
Foundation Entities

For all of the building blocks of the main endpoints. More...

Namespaces

namespace  discord_core_api::colors
 Color constants for use in the embed_data color values.
 

Classes and Structures

class  discord_core_api::account_data
 Account data. More...
 
struct  discord_core_api::action_data
 For representing a single auto-moderation-rule-action. More...
 
struct  discord_core_api::action_meta_data
 Action metadata for auto-moderation-rules. More...
 
class  discord_core_api::action_row_data
 Action row data of message components. More...
 
struct  discord_core_api::active_threads_data
 Data representing an active thread_data. More...
 
struct  discord_core_api::activity_data
 Activity data. More...
 
struct  discord_core_api::add_guild_member_data
 For adding a new guild_member_data to a chosen guild. More...
 
struct  discord_core_api::add_guild_member_role_data
 For addin a role_data to a guild_member. More...
 
struct  discord_core_api::add_recipient_to_group_dmdata
 For adding a user to a group dm. More...
 
struct  discord_core_api::add_thread_member_data
 For adding a chosen user_data to a chosen thread_data. More...
 
class  discord_core_api::allowed_mentions_data
 Allowable mentions for a message. More...
 
class  discord_core_api::application_command_data
 Data structure representing an application_command_data. More...
 
struct  discord_core_api::application_command_interaction_data_option
 Application_command_data interaction data option. More...
 
class  discord_core_api::application_command_option_choice_data
 Data structure representing an application_command_data's option choice. More...
 
struct  discord_core_api::application_command_option_data
 Data structure representing an application_command_data's option. More...
 
class  discord_core_api::application_command_permission_data
 Permissions data for an application_command_data. More...
 
class  discord_core_api::application_data
 Application data. More...
 
struct  discord_core_api::archived_threads_data
 Data representing an archived thread_data. More...
 
class  discord_core_api::attachment_data
 Attachment data. More...
 
struct  discord_core_api::audit_log_change_data
 Audit log change data. More...
 
class  discord_core_api::audit_log_data
 Audit log data. More...
 
class  discord_core_api::audit_log_entry_data
 Audit log entry data. More...
 
struct  discord_core_api::authorization_info_data
 Authorization info structure. More...
 
struct  discord_core_api::auto_moderation_action_execution_event_data
 For when an auto-moderation-rule is executed. More...
 
class  discord_core_api::auto_moderation_rule_data
 Represents an auto-moderation-rule. More...
 
struct  discord_core_api::ban_data
 Ban data. More...
 
struct  discord_core_api::batch_edit_guild_application_command_permissions_data
 For batch editing the permissions of a collection of guild application_commands. More...
 
struct  discord_core_api::begin_guild_prune_data
 For pruning a number of guild_members from the guild. More...
 
class  discord_core_api::bot_user
 A type of user_data, to represent the bot and some of its associated endpoints. More...
 
struct  discord_core_api::bulk_overwrite_global_application_commands_data
 For bulk-overwriting a collection of global application_commands. More...
 
struct  discord_core_api::bulk_overwrite_guild_application_commands_data
 For bulk-overwriting a collection of guild application_commands. More...
 
struct  discord_core_api::cache_options
 For selecting the caching style of the library. More...
 
class  discord_core_api::channel_cache_data
 Data structure representing a single channel_data. More...
 
class  discord_core_api::channel_data
 A channel_data object. More...
 
class  discord_core_api::channel_mention_data
 Channel_data mention data. More...
 
struct  discord_core_api::channel_pins_update_event_data
 Data for when some channel_data pins are updated. More...
 
struct  discord_core_api::connect_to_voice< value_type, discord_core_client_t, guild_members_type >
 crtp-based struct for exposing the connectToVoice functionality of the guild-related classes. More...
 
struct  discord_core_api::connection_data
 Represents a single user_data connection. More...
 
struct  discord_core_api::create_application_command_data
 For creating an application command. More...
 
struct  discord_core_api::create_auto_moderation_rule_data
 For creating an auto-moderation-rule. More...
 
struct  discord_core_api::create_channel_invite_data
 For creating an invite to a given channel. More...
 
class  discord_core_api::create_deferred_interaction_response_data
 For creating a deferred interaction response. More...
 
struct  discord_core_api::create_dmchannel_data
 For collecting a direct-messaging channel_data. More...
 
class  discord_core_api::create_ephemeral_follow_up_message_data
 For creating an ephemeral follow up message_data. More...
 
class  discord_core_api::create_ephemeral_interaction_response_data
 For creating an ephemeral interaction response. More...
 
class  discord_core_api::create_follow_up_message_data
 For creating a follow up message_data. More...
 
struct  discord_core_api::create_global_application_command_data
 For creating a single global application_command_data. More...
 
struct  discord_core_api::create_guild_application_command_data
 For creating a single guild application_command_data. More...
 
struct  discord_core_api::create_guild_ban_data
 For banning a current guild_member_data. More...
 
struct  discord_core_api::create_guild_channel_data
 For creating a new channel_data within a chosen guild_data. More...
 
struct  discord_core_api::create_guild_data
 For creating a guild. More...
 
struct  discord_core_api::create_guild_emoji_data
 for creating a new guild emoji. More...
 
struct  discord_core_api::create_guild_from_guild_template_data
 For creating a guild from a guild template. More...
 
struct  discord_core_api::create_guild_role_data
 For creating a new role_data within a chosen guild. More...
 
struct  discord_core_api::create_guild_scheduled_event_data
 For creating a guild_scheduled_event_data. More...
 
struct  discord_core_api::create_guild_sticker_data
 For creating a single sticker_data. More...
 
struct  discord_core_api::create_guild_template_data
 For creating a guild template. More...
 
class  discord_core_api::create_interaction_response_data
 For creating an interaction response. More...
 
class  discord_core_api::create_message_data
 For creating a message. More...
 
struct  discord_core_api::create_reaction_data
 For creating a single reaction_data. More...
 
struct  discord_core_api::create_web_hook_data
 For creating a new web_hook_data. More...
 
struct  discord_core_api::crosspost_message_data
 For crossposting a message. More...
 
struct  discord_core_api::delete_all_reactions_data
 For deleting all of the reactions on a particular message_data. More...
 
struct  discord_core_api::delete_auto_moderation_rule_data
 For deleting an auto-moderation-rule. More...
 
struct  discord_core_api::delete_channel_permission_overwrites_data
 For deleting the permission_types overwrites of a given channel for a given role or user_data. More...
 
struct  discord_core_api::delete_follow_up_message_data
 For deleting a follow up message_data. More...
 
struct  discord_core_api::delete_global_application_command_data
 For deleting a single global application_command_data. More...
 
struct  discord_core_api::delete_guild_application_command_data
 For deleting a single guild application_command_data. More...
 
struct  discord_core_api::delete_guild_data
 For deleting a guild. More...
 
struct  discord_core_api::delete_guild_emoji_data
 for deleting a guild emoji. More...
 
struct  discord_core_api::delete_guild_integration_data
 For deleting a guild integration. More...
 
struct  discord_core_api::delete_guild_scheduled_event_data
 For deleting a single guild scheduled event. More...
 
struct  discord_core_api::delete_guild_sticker_data
 For deleting a single sticker_data. More...
 
struct  discord_core_api::delete_guild_template_data
 For deleting a guild template. More...
 
struct  discord_core_api::delete_interaction_response_data
 For deleting an interaction response. More...
 
struct  discord_core_api::delete_invite_data
 For deleting a single guild invite. More...
 
struct  discord_core_api::delete_message_data
 For deleting a message. More...
 
struct  discord_core_api::delete_messages_bulk_data
 For deleting a bulk of messages. More...
 
struct  discord_core_api::delete_or_close_channel_data
 For deleting or closing a channel. More...
 
struct  discord_core_api::delete_own_reaction_data
 For deleting one's own reaction_data. More...
 
struct  discord_core_api::delete_reactions_by_emoji_data
 For deleting all of the reactions of a particular emoji. More...
 
struct  discord_core_api::delete_user_reaction_data
 For deleting a reaction, by user_data. More...
 
struct  discord_core_api::delete_web_hook_data
 For deleting a web_hook. More...
 
struct  discord_core_api::delete_web_hook_message_data
 For deleting a web_hook message_data. More...
 
struct  discord_core_api::delete_web_hook_with_token_data
 For deleting a web_hook, using its token. More...
 
struct  discord_core_api::discord_core_client_config
 Configuration data for the library's main class, discord_core_client. More...
 
struct  discord_core_api::edit_channel_permission_overwrites_data
 For editing the permission_types overwrites of a given channel, for a given role or user_data. More...
 
class  discord_core_api::edit_follow_up_message_data
 For editing a follow up message_data. More...
 
struct  discord_core_api::edit_global_application_command_data
 For editing a single global application_command_data. More...
 
struct  discord_core_api::edit_guild_application_command_data
 For editing a single guild application_command_data. More...
 
struct  discord_core_api::edit_guild_application_command_permissions_data
 For editing the permissions of a single guild application_command_data. More...
 
class  discord_core_api::edit_interaction_response_data
 For editing an interaction response. More...
 
class  discord_core_api::edit_message_data
 For editing a message. More...
 
class  discord_core_api::edit_web_hook_data
 For editing a web_hook message_data. More...
 
struct  discord_core_api::embed_author_data
 Embed author data. More...
 
class  discord_core_api::embed_data
 Embed data. More...
 
struct  discord_core_api::embed_field_data
 Embed field data. More...
 
struct  discord_core_api::embed_footer_data
 Embed footer data. More...
 
struct  discord_core_api::embed_image_data
 Embed image data. More...
 
struct  discord_core_api::embed_provider_data
 Embed provider data. More...
 
struct  discord_core_api::embed_thumbnail_data
 Embed thumbnail data. More...
 
struct  discord_core_api::embed_video_data
 Embed video data. More...
 
class  discord_core_api::emoji_data
 Data structure representing a single emoji. More...
 
class  discord_core_api::execute_web_hook_data
 For executing a web_hook. More...
 
struct  discord_core_api::file
 Data representing a file to be sent via multipart-form data. More...
 
struct  discord_core_api::follow_news_channel_data
 For following a news channel_data. More...
 
struct  discord_core_api::forum_tag_data
 forum tags. More...
 
struct  discord_core_api::forum_thread_message_data
 Represents a forum thread message. More...
 
struct  discord_core_api::gateway_bot_data
 Data from the get_gateway_bot endpoint. More...
 
struct  discord_core_api::get_active_guild_threads_data
 For listing the active threads in a chosen guild. More...
 
struct  discord_core_api::get_active_threads_data
 For collecting the list of active threads. More...
 
struct  discord_core_api::get_application_command_permissions_data
 For acquiring the permissions of a single guild application_command_data. More...
 
struct  discord_core_api::get_auto_moderation_rule_data
 For collecting an auto-moderation-rule for a particular auto_moderation_rule_data. More...
 
struct  discord_core_api::get_channel_data
 For collecting a channel from discord's servers. More...
 
struct  discord_core_api::get_channel_invites_data
 For collecting the invites to a given channel. More...
 
struct  discord_core_api::get_channel_web_hooks_data
 For collecting a list of web_hooks from a chosen channel_data. More...
 
struct  discord_core_api::get_current_user_guilds_data
 For collecting a list of guild's that the bot is in. More...
 
struct  discord_core_api::get_emoji_list_data
 for collecting a list of emoji from a guild. More...
 
struct  discord_core_api::get_follow_up_message_data
 For getting a follow-up message_data. More...
 
struct  discord_core_api::get_global_application_command_data
 For collecting a single global application_command_data. More...
 
struct  discord_core_api::get_global_application_commands_data
 For getting all of the global application commands. More...
 
struct  discord_core_api::get_guild_application_command_data
 For acquiring a single guild application_command_data. More...
 
struct  discord_core_api::get_guild_application_command_permissions_data
 For acquiring the permissions of a collection of guild application_commands. More...
 
struct  discord_core_api::get_guild_application_commands_data
 For acquiring all of the guild application_commands of a single guild. More...
 
struct  discord_core_api::get_guild_audit_logs_data
 For geting a guild's audit logs. More...
 
struct  discord_core_api::get_guild_ban_data
 For getting a single guild ban. More...
 
struct  discord_core_api::get_guild_bans_data
 For getting a list of guild bans. More...
 
struct  discord_core_api::get_guild_channels_data
 For acquiring a list of channels from a chosen guild_data. More...
 
struct  discord_core_api::get_guild_data
 For getting a guild from the library's cache or a discord server. More...
 
struct  discord_core_api::get_guild_emoji_data
 for collecting a single guild emoji. More...
 
struct  discord_core_api::get_guild_invites_data
 For geting all of the current invites from a guild. More...
 
struct  discord_core_api::get_guild_member_data
 For getting a guild_member, from the library's cache or discord server. More...
 
struct  discord_core_api::get_guild_member_roles_data
 For getting a chosen guild_member_data's roles. More...
 
struct  discord_core_api::get_guild_preview_data
 For acquiring a guild preview of a chosen guild. More...
 
struct  discord_core_api::get_guild_prune_count_data
 For collecting the guild prune count. More...
 
struct  discord_core_api::get_guild_roles_data
 For getting a chosen guild's roles. More...
 
struct  discord_core_api::get_guild_scheduled_event_data
 For collecting a single guild scheduled event. More...
 
struct  discord_core_api::get_guild_scheduled_event_users_data
 For collecting a list of guild scheduled event users. More...
 
struct  discord_core_api::get_guild_scheduled_events_data
 For collecting a list of a guild's scheduled events. More...
 
struct  discord_core_api::get_guild_stickers_data
 For collecting a list of stickers from a chosen guild. More...
 
struct  discord_core_api::get_guild_template_data
 For collecting a guild's template. More...
 
struct  discord_core_api::get_guild_templates_data
 For collecting a list of guild templates from a chosen guild. More...
 
struct  discord_core_api::get_guild_vanity_invite_data
 For geting the vanity invite responseData of a guild. More...
 
struct  discord_core_api::get_guild_voice_regions_data
 For collecting a list of guild voice regions. More...
 
struct  discord_core_api::get_guild_web_hooks_data
 For collecting a list of web_hooks from a chosen guild. More...
 
struct  discord_core_api::get_guild_welcome_screen_data
 For collecting a guild's welcome screen. More...
 
struct  discord_core_api::get_guild_widget_data
 For collecting a guild's widget. More...
 
struct  discord_core_api::get_guild_widget_image_data
 For collecting a guild's widget image. More...
 
struct  discord_core_api::get_guild_widget_object_data
 Get guild widget data. More...
 
struct  discord_core_api::get_guild_widget_settings_data
 For collecting a guild's widget settings. More...
 
struct  discord_core_api::get_interaction_response_data
 For getting an interaction response. More...
 
struct  discord_core_api::get_invite_data
 For geting a single invite's responseData from a guild. More...
 
struct  discord_core_api::get_joined_private_archived_threads_data
 For collecting joined protected archived threads from a given channel. More...
 
struct  discord_core_api::get_message_data
 For getting a message. More...
 
struct  discord_core_api::get_messages_data
 For getting a collection of messages. More...
 
struct  discord_core_api::get_pinned_messages_data
 For getting a collection of pinned messages. More...
 
struct  discord_core_api::get_private_archived_threads_data
 For collecting protected archived threads from a given channel. More...
 
struct  discord_core_api::get_public_archived_threads_data
 For collecting puiblic archived threads from a given channel. More...
 
struct  discord_core_api::get_reactions_data
 For getting all of the reactions. More...
 
struct  discord_core_api::get_role_data
 For getting a role_data from the library's cache, or the discord server. More...
 
struct  discord_core_api::get_sticker_data
 For getting a sticker_data object for the given sticker id. More...
 
struct  discord_core_api::get_thread_member_data
 For collecting a thread_member responseData structure for a given thread_member. More...
 
struct  discord_core_api::get_thread_members_data
 For collecting the list of thread_members from a thread_data. More...
 
struct  discord_core_api::get_user_data
 For getting user_data responseData from the library's cache or the discord server. More...
 
struct  discord_core_api::get_web_hook_data
 Collects a single web_hook_data. More...
 
struct  discord_core_api::get_web_hook_message_data
 For getting a web_hook message_data. More...
 
struct  discord_core_api::get_web_hook_with_token_data
 Collects a single web_hook_data, using the token and snowflake. More...
 
class  discord_core_api::guild_application_command_permission_data
 Guild application command permissions data. More...
 
class  discord_core_api::guild_application_command_permissions_data
 Represents the permissions for accessing an application_command_data from within a guild. More...
 
class  discord_core_api::guild_cache_data
 Data structure representing a single guild, for the purposes of populating the cache. More...
 
class  discord_core_api::guild_data
 A discord guild. used to connect to/disconnect from voice. More...
 
struct  discord_core_api::guild_emojis_update_event_data
 Data representing a guild emoji update event. More...
 
class  discord_core_api::guild_member_cache_data
 Data structure representing a single guild_member_data. More...
 
class  discord_core_api::guild_member_data
 Data structure representing a single guild_member_data. More...
 
struct  discord_core_api::guild_preview_data
 Data representing a single guild preview. More...
 
struct  discord_core_api::guild_prune_count_data
 Guild prune count data. More...
 
class  discord_core_api::guild_scheduled_event_data
 Data representing a guild scheduled event. More...
 
struct  discord_core_api::guild_scheduled_event_metadata
 Guild scheduled event entity metadata. More...
 
struct  discord_core_api::guild_scheduled_event_user_data
 Data representing a single guild_scheduled_event_user. More...
 
struct  discord_core_api::guild_stickers_update_event_data
 Data representing a guild stickers update event. More...
 
struct  discord_core_api::guild_template_data
 Represents a guild template. More...
 
struct  discord_core_api::guild_widget_data
 Guild widget data. More...
 
struct  discord_core_api::guild_widget_image_data
 Guild widget image data. More...
 
class  discord_core_api::input_event_data
 Data representing an input-event, which is any message or interaction that is coming into the bot as an input. More...
 
struct  discord_core_api::install_params_data
 Install params data, for application data. More...
 
class  discord_core_api::integration_data
 Integration data. More...
 
struct  discord_core_api::interaction_callback_data
 Interaction application_command_data callback data. More...
 
class  discord_core_api::interaction_data
 Interaction data. More...
 
struct  discord_core_api::interaction_data_data
 Interaction data data. More...
 
struct  discord_core_api::interaction_package_data
 For storing interaction-related values. More...
 
struct  discord_core_api::interaction_response_data
 Interaction response data. More...
 
struct  discord_core_api::invite_data
 Invite data. More...
 
struct  discord_core_api::join_thread_data
 For joining a thread_data. More...
 
struct  discord_core_api::leave_guild_data
 For leaving a particular guild. More...
 
struct  discord_core_api::leave_thread_data
 For leaving a thread_data. More...
 
struct  discord_core_api::list_auto_moderation_rules_for_guild_data
 For listing all of the auto-moderation-rules for a particular guild . More...
 
struct  discord_core_api::list_guild_members_data
 For listing the guild_members of a chosen guild. More...
 
struct  discord_core_api::logging_options
 Loggin options for the library. More...
 
struct  discord_core_api::message_activity_data
 Message activity data. More...
 
class  discord_core_api::message_data
 The core of a message's data structure. More...
 
class  discord_core_api::message_interaction_data
 Message interaction data. More...
 
struct  discord_core_api::message_package_data
 For storing message_data-related values. More...
 
struct  discord_core_api::message_reference_data
 Message reference data. More...
 
class  discord_core_api::message_response_base
 Message response base, for responding to messages. More...
 
struct  discord_core_api::modify_auto_moderation_rule_data
 For modifying an auto-moderation-rule. More...
 
struct  discord_core_api::modify_channel_data
 For modifying a channel's properties. More...
 
struct  discord_core_api::modify_current_guild_member_data
 For modifying the current guild_member_data's values. More...
 
struct  discord_core_api::modify_current_user_data
 For modifying the bot's user_data responseData. More...
 
struct  discord_core_api::modify_current_user_voice_state_data
 For updating the bot's current voice state. More...
 
struct  discord_core_api::modify_guild_channel_position_data
 For modifying the channel_data position responseData of a single channel_data. More...
 
struct  discord_core_api::modify_guild_channel_positions_data
 For modifying the current positions of one or more channels in the guild_data. More...
 
struct  discord_core_api::modify_guild_data
 For modifying the properties of a chosen guild. More...
 
struct  discord_core_api::modify_guild_emoji_data
 for modifying a guild emoji. More...
 
struct  discord_core_api::modify_guild_member_data
 For modifying a guild_member's values. More...
 
struct  discord_core_api::modify_guild_role_data
 For updating a role_data's options within a chosen guild. More...
 
struct  discord_core_api::modify_guild_role_positions_data
 For updating the role_data positions. More...
 
struct  discord_core_api::modify_guild_scheduled_event_data
 For modifying a single guild scheduled event. More...
 
struct  discord_core_api::modify_guild_sticker_data
 For modifying a single sticker_data. More...
 
struct  discord_core_api::modify_guild_template_data
 For modifying a guild template. More...
 
struct  discord_core_api::modify_guild_welcome_screen_data
 For modifying a guild's welcome screen. More...
 
struct  discord_core_api::modify_guild_widget_data
 For modifying a guild's widget. More...
 
struct  discord_core_api::modify_user_voice_state_data
 For modifying a user's voice state. More...
 
struct  discord_core_api::modify_web_hook_data
 For modifying a web_hook. More...
 
struct  discord_core_api::modify_web_hook_with_token_data
 For modifying a web_hook. More...
 
class  discord_core_api::object_collector< value_type >
 Object collector, for collecting objects from a channel. More...
 
class  discord_core_api::optional_audit_entry_info_data
 audit log entry info data More...
 
class  discord_core_api::over_write_data
 A permission_types overwrite, for a given channel. More...
 
class  discord_core_api::partial_emoji_data
 Data structure representing a single emoji. More...
 
class  discord_core_api::permissions_base< value_type >
 Permissions_base class, for representing and manipulating permission values. More...
 
struct  discord_core_api::pin_message_data
 For pinning a single message_data. More...
 
struct  discord_core_api::presence_update_data
 Presence update data. More...
 
class  discord_core_api::reaction_data
 /// data structure representing a single reaction. More...
 
struct  discord_core_api::reaction_remove_data
 For removing a reaction. More...
 
struct  discord_core_api::remove_guild_ban_data
 For removing a previous created ban. More...
 
struct  discord_core_api::remove_guild_member_data
 For removing a guild_member from a chosen guild. More...
 
struct  discord_core_api::remove_guild_member_role_data
 For removing a role_data from a guild_member. More...
 
struct  discord_core_api::remove_guild_role_data
 For removing a role_data from a chosen guild. More...
 
struct  discord_core_api::remove_recipient_from_group_dmdata
 For removing a user from a group dm. More...
 
struct  discord_core_api::remove_thread_member_data
 For removing a chosen user_data from a thread_data. More...
 
struct  discord_core_api::repeated_function_data
 Function data for repeated functions to be loaded. More...
 
struct  discord_core_api::resolved_data
 Resolved data. More...
 
class  discord_core_api::respond_to_input_event_data
 Data for responding to an input-event. More...
 
class  discord_core_api::role_cache_data
 Data structure representing a single role_data. More...
 
class  discord_core_api::role_data
 a single role_data. More...
 
struct  discord_core_api::role_position_data
 For updating the positions of the roles. More...
 
struct  discord_core_api::role_tags_data
 Role_data tags data. More...
 
struct  discord_core_api::search_guild_members_data
 For searching for one or more guild_members within a chosen guild. More...
 
class  discord_core_api::select_option_data
 Represents a single selection from a select-menu. More...
 
class  discord_core_api::send_dmdata
 For sending a direct-message. More...
 
struct  discord_core_api::session_start_data
 Data from the session_start info. More...
 
struct  discord_core_api::sharding_options
 Sharding options for the library. More...
 
class  discord_core_api::stage_instance_data
 Stage instance data. More...
 
struct  discord_core_api::start_thread_in_forum_channel_data
 For starting a thread_data, in a forum channel. More...
 
struct  discord_core_api::start_thread_with_message_data
 For starting a thread_data, based on a message. More...
 
struct  discord_core_api::start_thread_without_message_data
 For starting a thread_data, not based on a message. More...
 
class  discord_core_api::sticker_data
 Data representing a single sticker_data. More...
 
class  discord_core_api::sticker_item_data
 Message sticker_data item data. More...
 
struct  discord_core_api::sticker_pack_data
 Represents a sticker_data pack. More...
 
struct  discord_core_api::stream_info
 For connecting two bots to stream the vc contents between the two. More...
 
struct  discord_core_api::sync_guild_template_data
 For syncing a guild template. More...
 
struct  discord_core_api::team_members_object_data
 Team members object data. More...
 
class  discord_core_api::team_object_data
 Team object data. More...
 
class  discord_core_api::thread_data
 Represents a single thread_data. More...
 
struct  discord_core_api::thread_list_sync_data
 Data for when threads are synced. More...
 
class  discord_core_api::thread_member_data
 Data for a single member of a thread_data. More...
 
class  discord_core_api::thread_members_update_data
 Represents a thread_data-members-update. More...
 
struct  discord_core_api::thread_metadata_data
 Meta data for a thread_data type of channel_data. More...
 
struct  discord_core_api::timeout_guild_member_data
 For timing out a guild_member. More...
 
struct  discord_core_api::trigger_meta_data
 Trigger metadata for auto-moderation-rules. More...
 
struct  discord_core_api::trigger_typing_indicator_data
 For triggering the typing indicator in a given channel. More...
 
struct  discord_core_api::typing_start_data
 Representing "typing_start" data. More...
 
struct  discord_core_api::unpin_message_data
 For unpinning a single message_data. More...
 
struct  discord_core_api::update_channel_data
 For updating/modifying a given channel's properties. More...
 
struct  discord_core_api::update_presence_data
 For updating a user's presence. More...
 
struct  discord_core_api::update_voice_state_data
 For updating the current voice state. More...
 
struct  discord_core_api::update_voice_state_data_dc
 For updating the current voice state. More...
 
class  discord_core_api::user_cache_data
 A single user_data. More...
 
class  discord_core_api::user_data
 A single user_data. More...
 
struct  discord_core_api::voice_region_data
 Structure representing voice region data. More...
 
struct  discord_core_api::voice_state_data
 Voice state data. More...
 
struct  discord_core_api::voice_state_data_light
 Voice state data. More...
 
class  discord_core_api::web_hook_data
 Web_hook_data data. More...
 
struct  discord_core_api::welcome_screen_channel_data
 Welcome screen channel_data data. More...
 
struct  discord_core_api::welcome_screen_data
 Welcome screen data. More...
 

Typedefs

template<typename value_type >
using discord_core_api::object_filter = std::function<bool(value_type)>
 Typedef for the message filter.
 

Enumerations

enum class  discord_core_api::action_type : uint8_t { discord_core_api::action_type::Block_Message = 1 , discord_core_api::action_type::Send_Alert_Message = 2 , discord_core_api::action_type::Timeout = 3 }
 Action types for auto-moderation. More...
 
enum class  discord_core_api::activity_type : uint8_t {
  discord_core_api::activity_type::game = 0 , discord_core_api::activity_type::streaming = 1 , discord_core_api::activity_type::listening = 2 , discord_core_api::activity_type::watching = 3 ,
  discord_core_api::activity_type::custom = 4 , discord_core_api::activity_type::competing = 5
}
 Activity types. More...
 
enum class  discord_core_api::afk_time_out_durations : uint16_t {
  discord_core_api::afk_time_out_durations::Shortest = 60 , discord_core_api::afk_time_out_durations::Short = 300 , discord_core_api::afk_time_out_durations::Medium = 900 , discord_core_api::afk_time_out_durations::Long = 1800 ,
  discord_core_api::afk_time_out_durations::Longest = 3600
}
 Afk timeout durations. More...
 
enum class  discord_core_api::application_command_option_type : uint8_t {
  discord_core_api::application_command_option_type::Sub_Command = 1 , discord_core_api::application_command_option_type::Sub_Command_Group = 2 , discord_core_api::application_command_option_type::String = 3 , discord_core_api::application_command_option_type::Integer = 4 ,
  discord_core_api::application_command_option_type::Boolean = 5 , discord_core_api::application_command_option_type::User_Data = 6 , discord_core_api::application_command_option_type::Channel_Data = 7 , discord_core_api::application_command_option_type::Role_Data = 8 ,
  discord_core_api::application_command_option_type::Mentionable = 9 , discord_core_api::application_command_option_type::Number = 10 , discord_core_api::application_command_option_type::Attachment = 11
}
 Application command-option types. More...
 
enum class  discord_core_api::application_command_permission_type : uint8_t { discord_core_api::application_command_permission_type::Role_Data = 1 , discord_core_api::application_command_permission_type::User_Data = 2 , discord_core_api::application_command_permission_type::Channel_Data = 3 }
 Application command permission-types. More...
 
enum class  discord_core_api::application_command_type : uint8_t { discord_core_api::application_command_type::Chat_Input = 1 , discord_core_api::application_command_type::User_Data = 2 , discord_core_api::application_command_type::Message = 3 }
 Application command types. More...
 
enum class  discord_core_api::application_flags : uint32_t {
  discord_core_api::application_flags::Gateway_Presence = 1 << 12 , discord_core_api::application_flags::Gateway_Presence_Limited = 1 << 13 , discord_core_api::application_flags::Gateway_Guild_Members = 1 << 14 , discord_core_api::application_flags::Gateway_Guild_Members_Limited = 1 << 15 ,
  discord_core_api::application_flags::Verificatino_Pending_Guild_Limit = 1 << 16 , discord_core_api::application_flags::embedded = 1 << 17 , discord_core_api::application_flags::Gateway_Message_Content = 1 << 18 , discord_core_api::application_flags::Gateway_Message_Content_Limited = 1 << 19
}
 application flags, for the application_data structure. More...
 
enum class  discord_core_api::audit_log_event : uint8_t {
  discord_core_api::audit_log_event::Guild_Update = 1 , discord_core_api::audit_log_event::Channel_Create = 10 , discord_core_api::audit_log_event::Channel_Update = 11 , discord_core_api::audit_log_event::Channel_Delete = 12 ,
  discord_core_api::audit_log_event::Channel_Overwrite_Create = 13 , discord_core_api::audit_log_event::Channel_Overwrite_Update = 14 , discord_core_api::audit_log_event::Channel_Overwrite_Delete = 15 , discord_core_api::audit_log_event::Member_Kick = 20 ,
  discord_core_api::audit_log_event::Member_Prune = 21 , discord_core_api::audit_log_event::Member_Ban_Add = 22 , discord_core_api::audit_log_event::Member_Ban_Remove = 23 , discord_core_api::audit_log_event::Member_Update = 24 ,
  discord_core_api::audit_log_event::Member_Role_Update = 25 , discord_core_api::audit_log_event::Member_Move = 26 , discord_core_api::audit_log_event::Member_Disconnect = 27 , discord_core_api::audit_log_event::Bot_Add = 28 ,
  discord_core_api::audit_log_event::Role_Create = 30 , discord_core_api::audit_log_event::Role_Update = 31 , discord_core_api::audit_log_event::Role_Delete = 32 , discord_core_api::audit_log_event::Invite_Create = 40 ,
  discord_core_api::audit_log_event::Invite_Update = 41 , discord_core_api::audit_log_event::Invite_Delete = 42 , discord_core_api::audit_log_event::Webhook_Create = 50 , discord_core_api::audit_log_event::Webhook_Update = 51 ,
  discord_core_api::audit_log_event::Webhook_Delete = 52 , discord_core_api::audit_log_event::Emoji_Create = 60 , discord_core_api::audit_log_event::Emoji_Update = 61 , discord_core_api::audit_log_event::Emoji_Delete = 62 ,
  discord_core_api::audit_log_event::Message_Delete = 72 , discord_core_api::audit_log_event::Message_Bulk_Delete = 73 , discord_core_api::audit_log_event::Message_Pin = 74 , discord_core_api::audit_log_event::Message_Unpin = 75 ,
  discord_core_api::audit_log_event::Integration_Create = 80 , discord_core_api::audit_log_event::Integration_Update = 81 , discord_core_api::audit_log_event::Integration_Delete = 82 , discord_core_api::audit_log_event::Stage_Instance_Create = 83 ,
  discord_core_api::audit_log_event::Stage_Instance_Update = 84 , discord_core_api::audit_log_event::Stage_Instance_Delete = 85 , discord_core_api::audit_log_event::Sticker_Create = 90 , discord_core_api::audit_log_event::Sticker_Update = 91 ,
  discord_core_api::audit_log_event::Sticker_Delete = 92 , discord_core_api::audit_log_event::Guild_Scheduled_Event_Create = 100 , discord_core_api::audit_log_event::Guild_Scheduled_Event_Update = 101 , discord_core_api::audit_log_event::Guild_Scheduled_Event_Delete = 102 ,
  discord_core_api::audit_log_event::Thread_Create = 110 , discord_core_api::audit_log_event::Thread_Update = 111 , discord_core_api::audit_log_event::Thread_Delete = 112 , discord_core_api::audit_log_event::Application_Command_Permission_Update = 121 ,
  discord_core_api::audit_log_event::Auto_Moderation_Rule_Create = 140 , discord_core_api::audit_log_event::Auto_Moderation_Rule_Update = 141 , discord_core_api::audit_log_event::Auto_Moderation_Rule_Delete = 142 , discord_core_api::audit_log_event::Auto_Moderation_Block_Message = 143
}
 Audit log events. More...
 
enum class  discord_core_api::button_style : uint8_t {
  discord_core_api::button_style::Primary = 1 , discord_core_api::button_style::Success = 3 , discord_core_api::button_style::Secondary = 2 , discord_core_api::button_style::Danger = 4 ,
  discord_core_api::button_style::Link = 5
}
 Button styles. More...
 
enum class  discord_core_api::channel_type : uint8_t {
  discord_core_api::channel_type::Guild_Text = 0 , discord_core_api::channel_type::Dm = 1 , discord_core_api::channel_type::Guild_Voice = 2 , discord_core_api::channel_type::Group_DM = 3 ,
  discord_core_api::channel_type::Guild_Category = 4 , discord_core_api::channel_type::Guild_Announcement = 5 , discord_core_api::channel_type::Announcement_Thread = 10 , discord_core_api::channel_type::Public_Thread = 11 ,
  discord_core_api::channel_type::Private_Thread = 12 , discord_core_api::channel_type::Guild_Stage_Voice = 13 , discord_core_api::channel_type::Guild_Directory = 14 , discord_core_api::channel_type::Guild_Forum = 15
}
 Channel_data types. More...
 
enum class  discord_core_api::component_type : uint8_t {
  discord_core_api::component_type::Action_Row = 1 , discord_core_api::component_type::Button = 2 , discord_core_api::component_type::String_Select = 3 , discord_core_api::component_type::Text_Input = 4 ,
  discord_core_api::component_type::User_Select = 5 , discord_core_api::component_type::Role_Select = 6 , discord_core_api::component_type::Mentionable_Select = 7 , discord_core_api::component_type::Channel_Select = 8
}
 Component types. More...
 
enum class  discord_core_api::connection_visibility_types : uint8_t { discord_core_api::connection_visibility_types::None = 0 , discord_core_api::connection_visibility_types::Everyone = 1 }
 Connection visibility types. More...
 
enum class  discord_core_api::default_message_notification_level : uint8_t { discord_core_api::default_message_notification_level::All_Messages = 0 , discord_core_api::default_message_notification_level::Only_Mentions = 1 }
 Default message notification levels. More...
 
enum class  discord_core_api::embed_type : uint8_t {
  discord_core_api::embed_type::Rich = 0 , discord_core_api::embed_type::Image = 1 , discord_core_api::embed_type::Video = 2 , discord_core_api::embed_type::Gifv = 3 ,
  discord_core_api::embed_type::Article = 4 , discord_core_api::embed_type::Link = 5
}
 Embed types. More...
 
enum class  discord_core_api::event_type : uint8_t { discord_core_api::event_type::Message_Send = 1 }
 Event types for auto-moderation. More...
 
enum class  discord_core_api::explicit_content_filter_level : uint8_t { discord_core_api::explicit_content_filter_level::Disabled = 0 , discord_core_api::explicit_content_filter_level::Members_Without_Roles = 1 , discord_core_api::explicit_content_filter_level::All_Members = 2 }
 Explicit content filter levels. More...
 
enum class  discord_core_api::forum_layout_types { discord_core_api::forum_layout_types::Not_set = 0 , discord_core_api::forum_layout_types::List_View = 1 , discord_core_api::forum_layout_types::Gallery_View = 2 }
 forum layout types. More...
 
enum class  discord_core_api::gateway_intents : uint32_t {
  discord_core_api::gateway_intents::guilds = 1 << 0 , discord_core_api::gateway_intents::Guild_Members = 1 << 1 , discord_core_api::gateway_intents::Guild_Bans = 1 << 2 , discord_core_api::gateway_intents::Guild_Emojis = 1 << 3 ,
  discord_core_api::gateway_intents::Guild_Integrations = 1 << 4 , discord_core_api::gateway_intents::Guild_Webhooks = 1 << 5 , discord_core_api::gateway_intents::Guild_Invites = 1 << 6 , discord_core_api::gateway_intents::Guild_VoiceStates = 1 << 7 ,
  discord_core_api::gateway_intents::Guild_Presences = 1 << 8 , discord_core_api::gateway_intents::Guild_Messages = 1 << 9 , discord_core_api::gateway_intents::Guild_Message_Reactions = 1 << 10 , discord_core_api::gateway_intents::Guild_Message_Typing = 1 << 11 ,
  discord_core_api::gateway_intents::Direct_Messages = 1 << 12 , discord_core_api::gateway_intents::Direct_Message_Reactions = 1 << 13 , discord_core_api::gateway_intents::Direct_Message_Typing = 1 << 14 , discord_core_api::gateway_intents::Message_Content = 1 << 15 ,
  discord_core_api::gateway_intents::Guild_Scheduled_Events = 1 << 16 , Auto_Moderation_Configuration = 1 << 20 , discord_core_api::gateway_intents::Auto_Moderation_Execution = 1 << 21 , discord_core_api::gateway_intents::Default_Intents ,
  discord_core_api::gateway_intents::Privileged_Intents = Guild_Members | Guild_Presences | Message_Content , discord_core_api::gateway_intents::All_Intents = Default_Intents | Privileged_Intents
}
 Gateway intents. More...
 
enum class  discord_core_api::guild_flags : uint8_t {
  discord_core_api::guild_flags::Widget_enabled = 1 << 0 , discord_core_api::guild_flags::Unavailable = 1 << 1 , discord_core_api::guild_flags::Owner = 1 << 2 , discord_core_api::guild_flags::Large = 1 << 3 ,
  discord_core_api::guild_flags::Premium_Progress_Bar_Enabled = 1 << 4
}
 Guild flags. More...
 
enum class  discord_core_api::guild_nsfwlevel : uint8_t { discord_core_api::guild_nsfwlevel::Default = 0 , discord_core_api::guild_nsfwlevel::Explicit = 1 , discord_core_api::guild_nsfwlevel::Safe = 2 , discord_core_api::guild_nsfwlevel::Age_Restricted = 3 }
 Guild nsfw level. More...
 
enum class  discord_core_api::guild_scheduled_event_entity_type : uint8_t { discord_core_api::guild_scheduled_event_entity_type::None = 0 , discord_core_api::guild_scheduled_event_entity_type::State_Instance = 1 , discord_core_api::guild_scheduled_event_entity_type::Voice = 2 , discord_core_api::guild_scheduled_event_entity_type::External = 3 }
 Guild scheduled event entity types. More...
 
enum class  discord_core_api::guild_scheduled_event_privacy_level : uint8_t { discord_core_api::guild_scheduled_event_privacy_level::Public = 1 , discord_core_api::guild_scheduled_event_privacy_level::Guild_Only = 2 }
 Guild scheduled event privacy levels. More...
 
enum class  discord_core_api::guild_scheduled_event_status : uint8_t { discord_core_api::guild_scheduled_event_status::Scheduled = 1 , discord_core_api::guild_scheduled_event_status::Active = 2 , discord_core_api::guild_scheduled_event_status::Completed = 3 , discord_core_api::guild_scheduled_event_status::Canceled = 4 }
 Guild_scheduled_event_status. More...
 
enum class  discord_core_api::input_event_response_type : uint8_t {
  discord_core_api::input_event_response_type::Unset = 0 , Deferred_Response = 1 , discord_core_api::input_event_response_type::Ephemeral_Deferred_Response = 2 , discord_core_api::input_event_response_type::Interaction_Response = 3 ,
  discord_core_api::input_event_response_type::Ephemeral_Interaction_Response = 4 , discord_core_api::input_event_response_type::Edit_Interaction_Response = 5 , discord_core_api::input_event_response_type::Follow_Up_Message = 6 , discord_core_api::input_event_response_type::Ephemeral_Follow_Up_Message = 7 ,
  discord_core_api::input_event_response_type::Edit_Follow_Up_Message = 8 , discord_core_api::input_event_response_type::Application_Command_AutoComplete_Result = 9 , discord_core_api::input_event_response_type::Modal_Interaction_Response = 10
}
 Input event response types. More...
 
enum class  discord_core_api::interaction_callback_type : uint8_t {
  discord_core_api::interaction_callback_type::Pong = 1 , discord_core_api::interaction_callback_type::Channel_Message_With_Source = 4 , discord_core_api::interaction_callback_type::Deferred_Channel_Message_With_Source = 5 , discord_core_api::interaction_callback_type::Deferred_Update_Message = 6 ,
  discord_core_api::interaction_callback_type::Update_Message = 7 , discord_core_api::interaction_callback_type::Application_Command_Autocomplete_Result = 8 , discord_core_api::interaction_callback_type::Modal = 9
}
 Interaction callback types. More...
 
enum class  discord_core_api::interaction_type : uint8_t {
  discord_core_api::interaction_type::Ping = 1 , discord_core_api::interaction_type::Application_Command = 2 , discord_core_api::interaction_type::Message_Component = 3 , discord_core_api::interaction_type::Application_Command_Autocomplete = 4 ,
  discord_core_api::interaction_type::Modal_Submit = 5
}
 Interaction types. More...
 
enum class  discord_core_api::invite_target_types : uint8_t { discord_core_api::invite_target_types::Stream = 1 , discord_core_api::invite_target_types::Embedded_Application = 2 }
 Invite target types. More...
 
enum class  discord_core_api::keyword_preset_type : uint8_t { discord_core_api::keyword_preset_type::Profanity = 1 , discord_core_api::keyword_preset_type::Sexual_Content = 2 , discord_core_api::keyword_preset_type::Slurs = 3 }
 Keyword preset types for auto-moderation. More...
 
enum class  discord_core_api::message_activity_type : uint8_t { discord_core_api::message_activity_type::Join = 1 , discord_core_api::message_activity_type::Spectate = 2 , discord_core_api::message_activity_type::Listen = 3 , discord_core_api::message_activity_type::Join_Request = 5 }
 Message activity types. More...
 
enum class  discord_core_api::message_flags : uint8_t {
  discord_core_api::message_flags::Crossposted = 1 << 0 , discord_core_api::message_flags::Is_Crosspost = 1 << 1 , discord_core_api::message_flags::Suppress_Embeds = 1 << 2 , discord_core_api::message_flags::Source_Message_Deleted = 1 << 3 ,
  discord_core_api::message_flags::Urgent = 1 << 4 , discord_core_api::message_flags::Has_Thread = 1 << 5 , discord_core_api::message_flags::Ephemeral = 1 << 6 , discord_core_api::message_flags::Loading = 1 << 7
}
 Message flags. More...
 
enum class  discord_core_api::message_type : uint8_t {
  discord_core_api::message_type::Default = 0 , discord_core_api::message_type::Recipient_Add = 1 , discord_core_api::message_type::Recipient_Remove = 2 , discord_core_api::message_type::Call = 3 ,
  discord_core_api::message_type::Channel_Name_Change = 4 , discord_core_api::message_type::Channel_Icon_Change = 5 , discord_core_api::message_type::Channel_Pinned_Message = 6 , discord_core_api::message_type::Guild_Member_Join = 7 ,
  discord_core_api::message_type::User_Premium_Guild_Subscription = 8 , discord_core_api::message_type::User_Premium_Guild_Subscription_Tier_1 = 9 , discord_core_api::message_type::User_Premium_Guild_Subscription_Tier_2 = 10 , discord_core_api::message_type::User_Premium_Guild_Subscription_Tier_3 = 11 ,
  discord_core_api::message_type::Channel_Follow_Add = 12 , discord_core_api::message_type::Guild_Discovery_Disqualified = 14 , discord_core_api::message_type::Guild_Discovery_Requalified = 15 , discord_core_api::message_type::Guild_Discovery_Grace_Period_Initial_Warning = 16 ,
  discord_core_api::message_type::Guild_Discovery_Grace_Period_Final_Warning = 17 , discord_core_api::message_type::Thread_Created = 18 , discord_core_api::message_type::Reply = 19 , discord_core_api::message_type::Chat_Input_Command = 20 ,
  discord_core_api::message_type::Thread_Starter_Message = 21 , discord_core_api::message_type::Guild_Invite_Reminder = 22 , discord_core_api::message_type::Context_Menu_Command = 23
}
 Message types. More...
 
enum class  discord_core_api::mfalevel : uint8_t { discord_core_api::mfalevel::None = 0 , discord_core_api::mfalevel::Elevated = 1 }
 Mfa levels. More...
 
enum class  discord_core_api::permission : uint64_t {
  discord_core_api::permission::Create_Instant_Invite = 0x0000000000000001 , discord_core_api::permission::Kick_Members = 0x0000000000000002 , discord_core_api::permission::Ban_Members = 0x0000000000000004 , discord_core_api::permission::administrator = 0x0000000000000008 ,
  discord_core_api::permission::Manage_Channels = 0x0000000000000010 , discord_core_api::permission::Manage_Guild = 0x0000000000000020 , discord_core_api::permission::Add_Reactions = 0x0000000000000040 , discord_core_api::permission::View_Audit_Log = 0x0000000000000080 ,
  discord_core_api::permission::Priority_Speaker = 0x0000000000000100 , discord_core_api::permission::stream = 0x0000000000000200 , discord_core_api::permission::View_Channel = 0x0000000000000400 , discord_core_api::permission::Send_Messages = 0x0000000000000800 ,
  discord_core_api::permission::Send_TTS_Messages = 0x0000000000001000 , discord_core_api::permission::Manage_Messages = 0x0000000000002000 , discord_core_api::permission::Embed_Links = 0x0000000000004000 , discord_core_api::permission::Attach_Files = 0x0000000000008000 ,
  discord_core_api::permission::Read_Message_History = 0x0000000000010000 , discord_core_api::permission::Mention_Everyone = 0x0000000000020000 , discord_core_api::permission::Use_External_Emojis = 0x0000000000040000 , discord_core_api::permission::View_Guild_Insights = 0x0000000000080000 ,
  discord_core_api::permission::connect = 0x0000000000100000 , discord_core_api::permission::speak = 0x0000000000200000 , discord_core_api::permission::Mute_Members = 0x0000000000400000 , discord_core_api::permission::Deafen_Members = 0x0000000000800000 ,
  discord_core_api::permission::Move_Members = 0x0000000001000000 , discord_core_api::permission::Use_VAD = 0x0000000002000000 , discord_core_api::permission::Change_Nickname = 0x0000000004000000 , discord_core_api::permission::Manage_Nicknames = 0x0000000008000000 ,
  discord_core_api::permission::Manage_Roles = 0x0000000010000000 , discord_core_api::permission::Manage_Webhooks = 0x0000000020000000 , discord_core_api::permission::Manage_Guild_Expressions = 0x0000000040000000 , discord_core_api::permission::Use_Application_Commands = 0x0000000080000000 ,
  discord_core_api::permission::Request_to_Speak = 0x0000000100000000 , discord_core_api::permission::Manage_Events = 0x0000000200000000 , discord_core_api::permission::Manage_Threads = 0x0000000400000000 , discord_core_api::permission::Create_Public_Threads = 0x0000000800000000 ,
  discord_core_api::permission::Create_Private_Threads = 0x0000001000000000 , discord_core_api::permission::Use_External_Stickers = 0x0000002000000000 , discord_core_api::permission::Send_Messages_in_Threads = 0x0000004000000000 , discord_core_api::permission::Use_Embedded_Activities = 0x0000008000000000 ,
  discord_core_api::permission::Moderate_Members = 0x0000010000000000 , discord_core_api::permission::View_Creator_Monetization_Analytics = 0x0000020000000000 , discord_core_api::permission::Use_Soundboard = 0x0000040000000000 , discord_core_api::permission::Use_External_Sounds = 0x0000200000000000 ,
  discord_core_api::permission::Send_Voice_Messages = 0x0000400000000000
}
 Permission values, for a given channel, by role_data or guild_member_data. More...
 
enum class  discord_core_api::permission_overwrites_type : uint8_t { discord_core_api::permission_overwrites_type::role_data = 0 , discord_core_api::permission_overwrites_type::user_data = 1 }
 Permission_types overwrites types. More...
 
enum class  discord_core_api::premium_tier : uint8_t { discord_core_api::premium_tier::None = 0 , discord_core_api::premium_tier::Tier_1 = 1 , discord_core_api::premium_tier::Tier_2 = 2 , discord_core_api::premium_tier::Tier_3 = 3 }
 Premium tier levels. More...
 
enum class  discord_core_api::premium_type : uint8_t { discord_core_api::premium_type::None = 0 , discord_core_api::premium_type::Nitro_Classic = 1 , discord_core_api::premium_type::Nitro = 2 }
 Premium types denote the level of premium a user has. More...
 
enum class  discord_core_api::sort_order_types { discord_core_api::sort_order_types::Latest_Activity = 0 , discord_core_api::sort_order_types::Creation_Date = 1 }
 The sorting order, for guild forum channels. More...
 
enum class  discord_core_api::stage_instance_privacy_level : uint8_t { discord_core_api::stage_instance_privacy_level::Public = 1 , discord_core_api::stage_instance_privacy_level::Guild_Only = 2 }
 Stage instance privacy levels. More...
 
enum class  discord_core_api::sticker_format_type : uint8_t { discord_core_api::sticker_format_type::png = 1 , discord_core_api::sticker_format_type::apng = 2 , discord_core_api::sticker_format_type::lottie = 3 }
 Sticker_data format types. More...
 
enum class  discord_core_api::sticker_item_type : uint8_t { discord_core_api::sticker_item_type::png = 1 , discord_core_api::sticker_item_type::apng = 2 , discord_core_api::sticker_item_type::lottie = 3 }
 Sticker_data item types. More...
 
enum class  discord_core_api::sticker_type : uint8_t { discord_core_api::sticker_type::Standard = 1 , discord_core_api::sticker_type::Guild = 2 }
 Sticker_data types. More...
 
enum class  discord_core_api::system_channel_flags : uint8_t { discord_core_api::system_channel_flags::Suppress_Join_Notifications = 1 << 0 , discord_core_api::system_channel_flags::Suppress_Premium_Subscriptions = 1 << 1 , discord_core_api::system_channel_flags::Suppress_Guild_Reminder_Notifications = 1 << 2 , discord_core_api::system_channel_flags::Suppress_Join_Notification_Replies = 1 << 3 }
 System channel flags. More...
 
enum class  discord_core_api::text_format : uint8_t { discord_core_api::text_format::etf = 0x00 , discord_core_api::text_format::json = 0x01 }
 Represents which text format to use for websocket transfer. More...
 
enum class  discord_core_api::text_input_style : uint8_t { discord_core_api::text_input_style::Short = 1 , discord_core_api::text_input_style::Paragraph = 2 }
 Text input style for modals. More...
 
enum class  discord_core_api::thread_auto_archive_duration : uint16_t { discord_core_api::thread_auto_archive_duration::Shortest = 60 , discord_core_api::thread_auto_archive_duration::Short = 1440 , discord_core_api::thread_auto_archive_duration::Long = 4320 , discord_core_api::thread_auto_archive_duration::Longest = 10080 }
 Automatic thread_data archiving durations. More...
 
enum class  discord_core_api::thread_type : uint8_t { discord_core_api::thread_type::Guild_News_Thread = 10 , discord_core_api::thread_type::Guild_Public_Thread = 11 , discord_core_api::thread_type::Guild_Private_Thread = 12 }
 Thread_data types. More...
 
enum class  discord_core_api::timeout_durations : uint16_t {
  discord_core_api::timeout_durations::None = 0 , discord_core_api::timeout_durations::Minute = 1 , discord_core_api::timeout_durations::Five_Minutes = 5 , discord_core_api::timeout_durations::Ten_Minutes = 10 ,
  discord_core_api::timeout_durations::Hour = 60 , discord_core_api::timeout_durations::Day = 1440 , discord_core_api::timeout_durations::Week = 10080
}
 Timeout durations for the timeout command. More...
 
enum class  discord_core_api::trigger_type : uint8_t { discord_core_api::trigger_type::Keyword = 1 , discord_core_api::trigger_type::Spam = 3 , discord_core_api::trigger_type::Keyword_Preset = 4 , discord_core_api::trigger_type::Mention_Spam = 5 }
 Trigger types for auto-moderation. More...
 
enum class  discord_core_api::user_flags : uint32_t {
  discord_core_api::user_flags::Staff = 1 << 0 , discord_core_api::user_flags::Partner = 1 << 1 , discord_core_api::user_flags::Hypesquad = 1 << 2 , discord_core_api::user_flags::Bug_Hunter_Level_1 = 1 << 3 ,
  discord_core_api::user_flags::Hypesquad_Online_House_1 = 1 << 6 , discord_core_api::user_flags::Hypesquad_Online_House_2 = 1 << 7 , discord_core_api::user_flags::Hypesquad_Online_House_3 = 1 << 8 , discord_core_api::user_flags::Premium_Early_Suppoerter = 1 << 9 ,
  discord_core_api::user_flags::Team_Pseudo_User = 1 << 10 , discord_core_api::user_flags::Bug_Hunter_Level_2 = 1 << 14 , discord_core_api::user_flags::Verified_Bot = 1 << 16 , discord_core_api::user_flags::Verified_Developer = 1 << 17 ,
  discord_core_api::user_flags::Certified_Moderator = 1 << 18 , discord_core_api::user_flags::Bot_Https_Interactions = 1 << 19 , discord_core_api::user_flags::Bot = 1 << 20 , discord_core_api::user_flags::Mfaenabled = 1 << 21 ,
  discord_core_api::user_flags::System = 1 << 22 , discord_core_api::user_flags::Verified = 1 << 23
}
 User_data flags. More...
 
enum class  discord_core_api::verification_level : uint8_t {
  discord_core_api::verification_level::None = 0 , discord_core_api::verification_level::Low = 1 , discord_core_api::verification_level::Medium = 2 , discord_core_api::verification_level::High = 3 ,
  discord_core_api::verification_level::Very_High = 4
}
 /// verification levels. More...
 
enum class  discord_core_api::web_hook_type : uint8_t { discord_core_api::web_hook_type::Incoming = 1 , discord_core_api::web_hook_type::Channel_Follower = 2 , discord_core_api::web_hook_type::Application = 3 }
 Web_hook_data types. More...
 
enum class  discord_core_api::widget_style_options : uint8_t {
  discord_core_api::widget_style_options::Shield = 0 , discord_core_api::widget_style_options::Banner1 = 1 , discord_core_api::widget_style_options::Banner2 = 2 , discord_core_api::widget_style_options::Banner3 = 3 ,
  discord_core_api::widget_style_options::Banner4 = 4
}
 Widget style options. More...
 

Functions

DiscordCoreAPI_Dll jsonifier::string discord_core_api::getTimeAndDate ()
 Acquires a timeStamp with the current time and date - suitable for use in message-embeds.
 

Enumeration Type Documentation

◆ action_type

enum class discord_core_api::action_type : uint8_t
strong
Enumerator
Block_Message 

Blocks the content of a message according to the rule.

Send_Alert_Message 

Logs user content to a specified channel.

Timeout 

Timeout user for a specified duration.

Definition at line 1234 of file FoundationEntities.hpp.

◆ activity_type

enum class discord_core_api::activity_type : uint8_t
strong
Enumerator
game 

Game.

streaming 

Streaming.

listening 

Listening.

watching 

Watching.

custom 

custom.

competing 

competing.

Definition at line 48 of file Utilities.hpp.

◆ afk_time_out_durations

enum class discord_core_api::afk_time_out_durations : uint16_t
strong
Enumerator
Shortest 

Shortest.

Short 

Short.

Medium 

Medium.

Long 

Long.

Longest 

Longest.

Definition at line 1727 of file FoundationEntities.hpp.

◆ application_command_option_type

Enumerator
Sub_Command 

Sub-command.

Sub_Command_Group 

Sub-command group.

String 

Jsonifier::string.

Integer 

Integer.

Boolean 

Boolean.

User_Data 

User_data.

Channel_Data 

channel_data.

Role_Data 

Role_data.

Mentionable 

Mentionable.

Number 

Number.

Attachment 

Attachment.

Definition at line 1192 of file FoundationEntities.hpp.

◆ application_command_permission_type

Enumerator
Role_Data 

Role_data.

User_Data 

User_data.

Channel_Data 

channel_data.

Definition at line 1207 of file FoundationEntities.hpp.

◆ application_command_type

enum class discord_core_api::application_command_type : uint8_t
strong
Enumerator
Chat_Input 

chat input.

User_Data 

User_data.

Message 

Message.

Definition at line 1908 of file FoundationEntities.hpp.

◆ application_flags

enum class discord_core_api::application_flags : uint32_t
strong
Enumerator
Gateway_Presence 

Intent required for bots in 100 or more servers to receive presence_update events.

Gateway_Presence_Limited 

Intent required for bots in under 100 servers to receive presence_update events, found in bot settings.

Gateway_Guild_Members 

Intent required for bots in 100 or more servers to receive member-related events like guild_member_add.

Gateway_Guild_Members_Limited 

Intent required for bots in under 100 servers to receive member-related events like guild_member_add, found in bot settings.

Verificatino_Pending_Guild_Limit 

Indicates unusual growth of an app that prevents verification.

embedded 

Indicates if an app is embedded within the discord client (currently unavailable publicly)

Gateway_Message_Content 

Intent required for bots in 100 or more servers to receive message content.

Gateway_Message_Content_Limited 

Intent required for bots in under 100 servers to receive message content, found in bot settings};.

Definition at line 1402 of file FoundationEntities.hpp.

◆ audit_log_event

enum class discord_core_api::audit_log_event : uint8_t
strong
Enumerator
Guild_Update 

Guild update.

Channel_Create 

channel_data create.

Channel_Update 

channel_data update.

Channel_Delete 

channel_data delete.

Channel_Overwrite_Create 

channel_data overwrite create.

Channel_Overwrite_Update 

channel_data overwrite update.

Channel_Overwrite_Delete 

channel_data overwrite delete.

Member_Kick 

Member kick.

Member_Prune 

Member prune.

Member_Ban_Add 

Member ban add.

Member_Ban_Remove 

Member ban erase.

Member_Update 

Member update.

Member_Role_Update 

Member role update.

Member_Move 

Member move.

Member_Disconnect 

Member disconnect.

Bot_Add 

Bot add.

Role_Create 

Role_data create.

Role_Update 

Role_data update.

Role_Delete 

Role_data delete.

Invite_Create 

Invite create.

Invite_Update 

Invite update.

Invite_Delete 

Invite delete.

Webhook_Create 

Webhook create.

Webhook_Update 

Webhook update.

Webhook_Delete 

Webhook delete.

Emoji_Create 

Emoji create.

Emoji_Update 

Emoji update.

Emoji_Delete 

Emoji delete.

Message_Delete 

Message delete.

Message_Bulk_Delete 

Message bulk delete.

Message_Pin 

Message pin.

Message_Unpin 

Message unpin.

Integration_Create 

Integration create.

Integration_Update 

Integration update.

Integration_Delete 

Integration delete.

Stage_Instance_Create 

Stage-instance create.

Stage_Instance_Update 

Stage-instance update.

Stage_Instance_Delete 

Stage-instance delete.

Sticker_Create 

Sticker_data create.

Sticker_Update 

Sticker_data update.

Sticker_Delete 

Sticker_data delete.

Guild_Scheduled_Event_Create 

Guild-scheduled-event create.

Guild_Scheduled_Event_Update 

Guild-scheduled-event update.

Guild_Scheduled_Event_Delete 

Guild-scheduled-event delete.

Thread_Create 

Thread_data create.

Thread_Update 

Thread_data update.

Thread_Delete 

Thread_data delete.

Application_Command_Permission_Update 

Permissions were updated for a command.

Auto_Moderation_Rule_Create 

Auto moderation rule was created.

Auto_Moderation_Rule_Update 

Auto moderation rule was updated.

Auto_Moderation_Rule_Delete 

Auto moderation rule was deleted.

Auto_Moderation_Block_Message 

Message was blocked by auto_mod (according to a rule).

Definition at line 1517 of file FoundationEntities.hpp.

◆ button_style

enum class discord_core_api::button_style : uint8_t
strong
Enumerator
Primary 

Primary.

Success 

Success.

Secondary 

Secondary.

Danger 

Danger.

Link 

Link.

Definition at line 1983 of file FoundationEntities.hpp.

◆ channel_type

enum class discord_core_api::channel_type : uint8_t
strong
Enumerator
Guild_Text 

A text channel within a server.

Dm 

A direct message between users.

Guild_Voice 

A voice channel within a server.

Group_DM 

A direct message between multiple users.

Guild_Category 

An organizational category that contains up to 50 channels.

Guild_Announcement 

A channel that users can follow and crosspost into their own server (formerly news channels).

Announcement_Thread 

A temporary sub-channel within a GUILD_ANNOUNCEMENT channel.

Public_Thread 

A temporary sub-channel within a GUILD_TEXT or GUILD_FORUM channel.

Private_Thread 

A temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission.

Guild_Stage_Voice 

A voice channel for hosting events with an audience.

Guild_Directory 

The channel in a hub containing the listed servers.

Guild_Forum 

channel_data that can only contain threads.

Definition at line 733 of file FoundationEntities.hpp.

◆ component_type

enum class discord_core_api::component_type : uint8_t
strong
Enumerator
Action_Row 

container for other components.

Button 

Button object.

String_Select 

Select menu for picking from defined text options.

Text_Input 

Text input object.

User_Select 

Select menu for users.

Role_Select 

Select menu for roles.

Mentionable_Select 

Select menu for mentionables (users and roles).

Channel_Select 

Select menu for channels.

Definition at line 1915 of file FoundationEntities.hpp.

◆ connection_visibility_types

enum class discord_core_api::connection_visibility_types : uint8_t
strong
Enumerator
None 

None.

Everyone 

Everyone.

Definition at line 2253 of file FoundationEntities.hpp.

◆ default_message_notification_level

Enumerator
All_Messages 

All messages.

Only_Mentions 

Only mentions.

Definition at line 1623 of file FoundationEntities.hpp.

◆ embed_type

enum class discord_core_api::embed_type : uint8_t
strong
Enumerator
Rich 

Rich.

Image 

Image.

Video 

Video.

Gifv 

Gifv.

Article 

Article.

Link 

Link.

Definition at line 631 of file FoundationEntities.hpp.

◆ event_type

enum class discord_core_api::event_type : uint8_t
strong
Enumerator
Message_Send 

When a member sends or edits a message in the guild.

Definition at line 1214 of file FoundationEntities.hpp.

◆ explicit_content_filter_level

Enumerator
Disabled 

Disabled.

Members_Without_Roles 

Members without roles.

All_Members 

All members.

Definition at line 1629 of file FoundationEntities.hpp.

◆ forum_layout_types

Enumerator
Not_set 

No default has been set for forum channel.

List_View 

Display posts as a list.

Gallery_View 

Display posts as a collection of tiles.

Definition at line 1092 of file FoundationEntities.hpp.

◆ gateway_intents

enum class discord_core_api::gateway_intents : uint32_t
strong
Enumerator
guilds 

Intent for receipt of guild information.

Guild_Members 

Intent for receipt of guild members.

Guild_Bans 

Intent for receipt of guild bans.

Guild_Emojis 

Intent for receipt of guild emojis.

Guild_Integrations 

Intent for receipt of guild integrations.

Guild_Webhooks 

Intent for receipt of guild webhooks.

Guild_Invites 

Intent for receipt of guild invites.

Guild_VoiceStates 

Intent for receipt of guild voice states.

Guild_Presences 

Intent for receipt of guild presences.

Guild_Messages 

Intent for receipt of guild messages.

Guild_Message_Reactions 

Intent for receipt of guild message reactions.

Guild_Message_Typing 

Intent for receipt of guild message typing notifications.

Direct_Messages 

Intent for receipt of direct messages (dms).

Direct_Message_Reactions 

Intent for receipt of direct message reactions.

Direct_Message_Typing 

Intent for receipt of direct message typing notifications.

Message_Content 

Intent for receipt of message content.

Guild_Scheduled_Events 

Scheduled events.

Auto_Moderation_Execution 

auto moderation configuration.

Auto moderation execution.

Default_Intents 

Default intents (all non-privileged intents).

Privileged_Intents 

Privileged intents requiring id.

All_Intents 

Every single intent.

Definition at line 166 of file Utilities.hpp.

◆ guild_flags

enum class discord_core_api::guild_flags : uint8_t
strong
Enumerator
Widget_enabled 

Widget enabled.

Unavailable 

Unavailable.

Owner 

Owner.

Large 

Is it a large guild?

Premium_Progress_Bar_Enabled 

Premium progress bar enabled.

Definition at line 2363 of file FoundationEntities.hpp.

◆ guild_nsfwlevel

enum class discord_core_api::guild_nsfwlevel : uint8_t
strong
Enumerator
Default 

Default.

Explicit 

Explicit.

Safe 

Safe.

Age_Restricted 

Age restricted.

Definition at line 1736 of file FoundationEntities.hpp.

◆ guild_scheduled_event_entity_type

Enumerator
None 

None.

State_Instance 

Stage instance.

Voice 

Voice.

External 

External.

Definition at line 1769 of file FoundationEntities.hpp.

◆ guild_scheduled_event_privacy_level

Enumerator
Public 

Public.

Guild_Only 

Guild only.

Definition at line 1755 of file FoundationEntities.hpp.

◆ guild_scheduled_event_status

Enumerator
Scheduled 

Scheduled.

Active 

Active.

Completed 

completed.

Canceled 

cancelled.

Definition at line 1761 of file FoundationEntities.hpp.

◆ input_event_response_type

enum class discord_core_api::input_event_response_type : uint8_t
strong
Enumerator
Unset 

Unset.

Ephemeral_Deferred_Response 

Deferred ephemeral response.

Interaction_Response 

Interaction response.

Ephemeral_Interaction_Response 

Ephemeral interaction response.

Edit_Interaction_Response 

Interaction response edit.

Follow_Up_Message 

Follow-up message_data.

Ephemeral_Follow_Up_Message 

Ephemeral follow-up message_data.

Edit_Follow_Up_Message 

Follow-up message edit.

Application_Command_AutoComplete_Result 

Respond to an autocomplete interaction with suggested choices.

Modal_Interaction_Response 

Respond to an interaction with a popup modal.

Definition at line 151 of file Utilities.hpp.

◆ interaction_callback_type

enum class discord_core_api::interaction_callback_type : uint8_t
strong
Enumerator
Pong 

Ack a ping.

Channel_Message_With_Source 

Respond to an interaction with a message.

Deferred_Channel_Message_With_Source 

Ack an interaction and edit a response later, the user sees a loading state.

Deferred_Update_Message 

For components, ack an interaction and edit the original message later; the user does not see a loading state.

Update_Message 

For components, edit the message the component was attached to.

Application_Command_Autocomplete_Result 

Respond to an autocomplete interaction with suggested choices.

Modal 

Respond to an interaction with a popup modal.

Definition at line 2026 of file FoundationEntities.hpp.

◆ interaction_type

enum class discord_core_api::interaction_type : uint8_t
strong
Enumerator
Ping 

Ping.

Application_Command 

Application command.

Message_Component 

Message component.

Application_Command_Autocomplete 

Application command autocomplete.

Modal_Submit 

Modal submission.

Definition at line 1964 of file FoundationEntities.hpp.

◆ invite_target_types

enum class discord_core_api::invite_target_types : uint8_t
strong
Enumerator
Stream 

Stream.

Embedded_Application 

Embedded application.

Definition at line 1811 of file FoundationEntities.hpp.

◆ keyword_preset_type

enum class discord_core_api::keyword_preset_type : uint8_t
strong
Enumerator
Profanity 

Words that may be considered forms of swearing or cursing.

Sexual_Content 

Words that refer to sexually explicit behavior or activity.

Slurs 

Personal insults or words that may be considered hate speech.

Definition at line 1227 of file FoundationEntities.hpp.

◆ message_activity_type

enum class discord_core_api::message_activity_type : uint8_t
strong
Enumerator
Join 

Join.

Spectate 

Spectate.

Listen 

Listen.

Join_Request 

Join-request.

Definition at line 1342 of file FoundationEntities.hpp.

◆ message_flags

enum class discord_core_api::message_flags : uint8_t
strong
Enumerator
Crossposted 

crossposted.

Is_Crosspost 

Is crosspost.

Suppress_Embeds 

Supress embeds.

Source_Message_Deleted 

Source message deleted.

Urgent 

Urgent.

Has_Thread 

Has thread_data.

Ephemeral 

Ephemeral.

Loading 

Loading.

Definition at line 2156 of file FoundationEntities.hpp.

◆ message_type

enum class discord_core_api::message_type : uint8_t
strong
Enumerator
Default 

Default.

Recipient_Add 

Recipient add.

Recipient_Remove 

Recipient erase.

Call 

call.

Channel_Name_Change 

channel_data name change.

Channel_Icon_Change 

channel_data icon change.

Channel_Pinned_Message 

channel_data pinned message.

Guild_Member_Join 

Guild memeber join.

User_Premium_Guild_Subscription 

User_data premium guild subscription.

User_Premium_Guild_Subscription_Tier_1 

User_data premium guild subscription tier 1.

User_Premium_Guild_Subscription_Tier_2 

User_data premium guild subscription tier 2.

User_Premium_Guild_Subscription_Tier_3 

User_data premium guild subscription tier 3.

Channel_Follow_Add 

channel_data follow add.

Guild_Discovery_Disqualified 

Guild discovery disqualified.

Guild_Discovery_Requalified 

Guild discovery requalified.

Guild_Discovery_Grace_Period_Initial_Warning 

Guild discovery grade period initial warning.

Guild_Discovery_Grace_Period_Final_Warning 

Guild discovery grade period final warning.

Thread_Created 

Thread_data created.

Reply 

Reply.

Chat_Input_Command 

chat input command.

Thread_Starter_Message 

Thread_data starter message_data.

Guild_Invite_Reminder 

Guild invite reminder.

Context_Menu_Command 

context menu command.

Definition at line 2129 of file FoundationEntities.hpp.

◆ mfalevel

enum class discord_core_api::mfalevel : uint8_t
strong
Enumerator
None 

None.

Elevated 

Elevated.

Definition at line 1636 of file FoundationEntities.hpp.

◆ permission

enum class discord_core_api::permission : uint64_t
strong
Enumerator
Create_Instant_Invite 

Allows creation of instant invites.

Kick_Members 

Allows kicking members.

Ban_Members 

Allows banning members.

administrator 

Allows all permissions and bypasses channel permission overwrites.

Manage_Channels 

Allows management and editing of channels.

Manage_Guild 

Allows management and editing of the guild.

Add_Reactions 

Allows for the addition of reactions to messages.

View_Audit_Log 

Allows for viewing of audit logs.

Priority_Speaker 

Allows for using priority speaker in a voice channel.

stream 

Allows the user to go live.

View_Channel 

Allows guild members to view a channel, which includes reading messages in text channels.

Send_Messages 

Allows for sending messages in a channel and creating threads in a forum.

Send_TTS_Messages 

Allows for sending of /tts messages.

Manage_Messages 

Allows for deletion of other users messages.

Embed_Links 

Links sent by users with this permission will be auto-embedded.

Attach_Files 

Allows for uploading images and files.

Read_Message_History 

Allows for reading of message history.

Mention_Everyone 

Allows for using the at-everyone tag to notify all users in a channel.

Use_External_Emojis 

Allows the usage of custom emojis from other servers.

View_Guild_Insights 

Allows for viewing guild insights.

connect 

Allows for joining of a voice channel.

speak 

Allows for speaking in a voice channel.

Mute_Members 

Allows for muting members in a voice channel.

Deafen_Members 

Allows for deafening of members in a voice channel.

Move_Members 

Allows for moving of members between voice channels.

Use_VAD 

Allows for using voice-activity-detection in a voice channel.

Change_Nickname 

Allows for modification of own nickname.

Manage_Nicknames 

Allows for modification of other users nicknames.

Manage_Roles 

Allows management and editing of roles.

Manage_Webhooks 

Allows management and editing of webhooks.

Manage_Guild_Expressions 

Allows management and editing of emojis, stickers, and soundboard sounds.

Use_Application_Commands 

Allows members to use application commands, including slash commands and context menu.

Request_to_Speak 

Allows for requesting to speak in stage channels. (this permission is under active development).

Manage_Events 

Allows for creating, editing, and deleting scheduled events.

Manage_Threads 

Allows for deleting and archiving threads, and viewing all protected threads.

Create_Public_Threads 

Allows for creating public and announcement threads.

Create_Private_Threads 

Allows for creating protected threads.

Use_External_Stickers 

Allows the usage of custom stickers from other servers.

Send_Messages_in_Threads 

Allows for sending messages in threads.

Use_Embedded_Activities 

Allows for using activities (applications with the embedded flag) in a voice channel.

Moderate_Members 

Allows for timing out users to prevent them from sending or reacting to messages in chat.

View_Creator_Monetization_Analytics 

Allows for viewing role subscription insights.

Use_Soundboard 

Allows for using soundboard in a voice channel.

Use_External_Sounds 

Allows the usage of custom soundboard sounds from other servers.

Send_Voice_Messages 

Allows sending voice messages.

Definition at line 486 of file Utilities.hpp.

◆ permission_overwrites_type

enum class discord_core_api::permission_overwrites_type : uint8_t
strong
Enumerator
role_data 

Role_data.

user_data 

User_data.

Definition at line 1061 of file FoundationEntities.hpp.

◆ premium_tier

enum class discord_core_api::premium_tier : uint8_t
strong
Enumerator
None 

None.

Tier_1 

Tier 1.

Tier_2 

Tier 2.

Tier_3 

Tier 3.

Definition at line 1614 of file FoundationEntities.hpp.

◆ premium_type

enum class discord_core_api::premium_type : uint8_t
strong
Enumerator
None 

None.

Nitro_Classic 

Nitro classic.

Nitro 

Nitro.

Definition at line 402 of file FoundationEntities.hpp.

◆ sort_order_types

Enumerator
Latest_Activity 

Sort forum posts by activity.

Creation_Date 

Sort forum posts by creation time(from most recent to oldest).

Definition at line 727 of file FoundationEntities.hpp.

◆ stage_instance_privacy_level

Enumerator
Public 

Public.

Guild_Only 

Guild only.

Definition at line 1665 of file FoundationEntities.hpp.

◆ sticker_format_type

enum class discord_core_api::sticker_format_type : uint8_t
strong
Enumerator
png 

Png.

apng 

Apng.

lottie 

Lottie.

Definition at line 566 of file FoundationEntities.hpp.

◆ sticker_item_type

enum class discord_core_api::sticker_item_type : uint8_t
strong
Enumerator
png 

Png.

apng 

Apng.

lottie 

Lottie.

Definition at line 2168 of file FoundationEntities.hpp.

◆ sticker_type

enum class discord_core_api::sticker_type : uint8_t
strong
Enumerator
Standard 

Standard.

Guild 

Guild.

Definition at line 1684 of file FoundationEntities.hpp.

◆ system_channel_flags

enum class discord_core_api::system_channel_flags : uint8_t
strong
Enumerator
Suppress_Join_Notifications 

Suppress member join notifications.

Suppress_Premium_Subscriptions 

Suppress server boost notifications.

Suppress_Guild_Reminder_Notifications 

Suppress server setup tips.

Suppress_Join_Notification_Replies 

Hide member join sticker reply buttons.

Definition at line 1744 of file FoundationEntities.hpp.

◆ text_format

enum class discord_core_api::text_format : uint8_t
strong
Enumerator
etf 

Etf format.

json 

Json format.

Definition at line 202 of file Utilities.hpp.

◆ text_input_style

enum class discord_core_api::text_input_style : uint8_t
strong
Enumerator
Short 

A single-line input.

Paragraph 

A multi-line input.

Definition at line 2313 of file FoundationEntities.hpp.

◆ thread_auto_archive_duration

enum class discord_core_api::thread_auto_archive_duration : uint16_t
strong
Enumerator
Shortest 

Shortest.

Short 

Short.

Long 

Long.

Longest 

Longest.

Definition at line 804 of file FoundationEntities.hpp.

◆ thread_type

enum class discord_core_api::thread_type : uint8_t
strong
Enumerator
Guild_News_Thread 

Guild news thread_data.

Guild_Public_Thread 

Guild public thread_data.

Guild_Private_Thread 

Guild protected thread_data.

Definition at line 769 of file FoundationEntities.hpp.

◆ timeout_durations

enum class discord_core_api::timeout_durations : uint16_t
strong
Enumerator
None 

None - erase timeout.

Minute 

1 minute timeout.

Five_Minutes 

5 minute timeout.

Ten_Minutes 

10 minute timeout.

Hour 

1 hour timeout.

Day 

1 day timeout.

Week 

1 week timeout.

Definition at line 362 of file FoundationEntities.hpp.

◆ trigger_type

enum class discord_core_api::trigger_type : uint8_t
strong
Enumerator
Keyword 

check if content contains words from a user defined list of keywords.

Spam 

check if content represents generic spam.

Keyword_Preset 

check if content contains words from internal pre-defined wordsets.

Mention_Spam 

check if content contains more unique mentions than allowed.

Definition at line 1219 of file FoundationEntities.hpp.

◆ user_flags

enum class discord_core_api::user_flags : uint32_t
strong
Enumerator
Staff 

Discord employee.

Partner 

Partnered server owner.

Hypesquad 

Hype_squad events member.

Bug_Hunter_Level_1 

Bug hunter level 1.

Hypesquad_Online_House_1 

House bravery member.

Hypesquad_Online_House_2 

House brilliance member.

Hypesquad_Online_House_3 

House balance member.

Premium_Early_Suppoerter 

Early nitro supporter.

Team_Pseudo_User 

User_data is a team.

Bug_Hunter_Level_2 

Bug hunter level 2.

Verified_Bot 

Verified bot.

Verified_Developer 

Early verified bot developer.

Certified_Moderator 

Discord certified moderator.

Bot_Https_Interactions 

Bot uses only https interactions and is shown in the online member list.

Bot 

Is it a bot?

Mfaenabled 

Is mfa enabled?

System 

Is it a system integration?

Verified 

Is it verified?

Definition at line 380 of file FoundationEntities.hpp.

◆ verification_level

enum class discord_core_api::verification_level : uint8_t
strong
Enumerator
None 

None.

Low 

Low.

Medium 

Medium.

High 

High.

Very_High 

Very high.

Definition at line 1642 of file FoundationEntities.hpp.

◆ web_hook_type

enum class discord_core_api::web_hook_type : uint8_t
strong
Enumerator
Incoming 

Incoming.

Channel_Follower 

channel_data follower.

Application 

Application.

Definition at line 1817 of file FoundationEntities.hpp.

◆ widget_style_options

enum class discord_core_api::widget_style_options : uint8_t
strong
Enumerator
Shield 

Shield.

Banner1 

Banner1.

Banner2 

Banner2.

Banner3 

Banner3.

Banner4 

Banner4.

Definition at line 1481 of file FoundationEntities.hpp.

Function Documentation

◆ getTimeAndDate()

jsonifier::string discord_core_api::getTimeAndDate ( )
Returns
jsonifier::string a string containing the current date-time stamp.

Definition at line 630 of file Utilities.cpp.