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...

Collaboration diagram for Foundation Entities:

Classes and Structures

class  DiscordCoreAPI::AccountData
 Account data. More...
 
struct  DiscordCoreAPI::ActionData
 For representing a single auto-moderation-rule-action. More...
 
struct  DiscordCoreAPI::ActionMetaData
 Action metadata for auto-moderation-rules. More...
 
class  DiscordCoreAPI::ActionRowData
 Action row data of Message components. More...
 
struct  DiscordCoreAPI::ActiveThreadsData
 Data representing an active Thread. More...
 
struct  DiscordCoreAPI::ActivityData
 Activity data. More...
 
struct  DiscordCoreAPI::AddGuildMemberData
 For adding a new GuildMember to a chosen Guild. More...
 
struct  DiscordCoreAPI::AddGuildMemberRoleData
 For addin a Role to a GuildMember. More...
 
struct  DiscordCoreAPI::AddRecipientToGroupDMData
 For adding a user to a group DM. More...
 
struct  DiscordCoreAPI::AddThreadMemberData
 For adding a chosen User to a chosen Thread. More...
 
class  DiscordCoreAPI::AllowedMentionsData
 Allowable mentions for a Message. More...
 
class  DiscordCoreAPI::ApplicationCommand
 A single ApplicationCommand. More...
 
class  DiscordCoreAPI::ApplicationCommandData
 Data structure representing an ApplicationCommand. More...
 
class  DiscordCoreAPI::ApplicationCommandInteractionData
 ApplicationCommand Interaction data. More...
 
struct  DiscordCoreAPI::ApplicationCommandInteractionDataOption
 ApplicationCommand Interaction data option. More...
 
class  DiscordCoreAPI::ApplicationCommandOptionChoiceData
 Data structure representing an ApplicationCommand's option choice. More...
 
struct  DiscordCoreAPI::ApplicationCommandOptionData
 Data structure representing an ApplicationCommand's option. More...
 
class  DiscordCoreAPI::ApplicationCommandPermissionData
 Permissions data for an ApplicationCommand. More...
 
class  DiscordCoreAPI::ApplicationData
 Application data. More...
 
struct  DiscordCoreAPI::ArchivedThreadsData
 Data representing an archived Thread. More...
 
class  DiscordCoreAPI::AttachmentData
 Attachment data. More...
 
struct  DiscordCoreAPI::AuditLogChangeData
 Audit log change data. More...
 
class  DiscordCoreAPI::AuditLogData
 Audit log data. More...
 
class  DiscordCoreAPI::AuditLogEntryData
 Audit log entry data. More...
 
struct  DiscordCoreAPI::AuthorizationInfoData
 Authorization info structure. More...
 
struct  DiscordCoreAPI::AutoModerationActionExecutionEventData
 For when an auto-moderation-rule is executed. More...
 
class  DiscordCoreAPI::AutoModerationRule
 Represents an auto-moderation-rule. More...
 
class  DiscordCoreAPI::AutoModerationRuleData
 Represents an auto-moderation-rule. More...
 
struct  DiscordCoreAPI::BanData
 Ban data. More...
 
struct  DiscordCoreAPI::BatchEditGuildApplicationCommandPermissionsData
 For batch editing the permissions of a collection of Guild ApplicationCommands. More...
 
struct  DiscordCoreAPI::BeginGuildPruneData
 For pruning a number of GuildMembers from the Guild. More...
 
class  DiscordCoreAPI::BotUser
 A type of User, to represent the Bot and some of its associated endpoints. More...
 
struct  DiscordCoreAPI::BulkOverwriteGlobalApplicationCommandsData
 For bulk-overwriting a collection of global ApplicationCommands. More...
 
struct  DiscordCoreAPI::BulkOverwriteGuildApplicationCommandsData
 For bulk-overwriting a collection of Guild ApplicationCommands. More...
 
class  DiscordCoreAPI::Channel
 A Channel object. More...
 
class  DiscordCoreAPI::ChannelData
 Data structure representing a single Channel. More...
 
class  DiscordCoreAPI::ChannelMentionData
 Channel mention data. More...
 
struct  DiscordCoreAPI::ChannelPinsUpdateEventData
 Data for when some Channel pins are updated. More...
 
struct  DiscordCoreAPI::ComponentData
 Represents a single Message-component. More...
 
struct  DiscordCoreAPI::ComponentInteractionData
 Component Interaction data. More...
 
struct  DiscordCoreAPI::ConnectionData
 Represents a single User Connection. More...
 
class  DiscordCoreAPI::CoRoutine< RTy >
 A CoRoutine - representing a potentially asynchronous operation/function. More...
 
struct  DiscordCoreAPI::CreateApplicationCommandData
 For creating an application command. More...
 
struct  DiscordCoreAPI::CreateAutoModerationRuleData
 For creating an auto-moderation-rule. More...
 
struct  DiscordCoreAPI::CreateChannelInviteData
 For creating an invite to a given Channel. More...
 
class  DiscordCoreAPI::CreateDeferredInteractionResponseData
 For creating a deferred Interaction response. More...
 
struct  DiscordCoreAPI::CreateDMChannelData
 For collecting a direct-messaging Channel. More...
 
class  DiscordCoreAPI::CreateEphemeralFollowUpMessageData
 For creating an ephemeral follow up Message. More...
 
class  DiscordCoreAPI::CreateEphemeralInteractionResponseData
 For creating an ephemeral Interaction response. More...
 
class  DiscordCoreAPI::CreateFollowUpMessageData
 For creating a follow up Message. More...
 
struct  DiscordCoreAPI::CreateGlobalApplicationCommandData
 For creating a single global ApplicationCommand. More...
 
struct  DiscordCoreAPI::CreateGuildApplicationCommandData
 For creating a single Guild ApplicationCommand. More...
 
struct  DiscordCoreAPI::CreateGuildBanData
 For banning a current GuildMember. More...
 
struct  DiscordCoreAPI::CreateGuildChannelData
 For creating a new Channel within a chosen Guild. More...
 
struct  DiscordCoreAPI::CreateGuildData
 For creating a Guild. More...
 
struct  DiscordCoreAPI::CreateGuildEmojiData
 For creating a new Guild Emoji. More...
 
struct  DiscordCoreAPI::CreateGuildFromGuildTemplateData
 For creating a Guild from a Guild template. More...
 
struct  DiscordCoreAPI::CreateGuildRoleData
 For creating a new Role within a chosen Guild. More...
 
struct  DiscordCoreAPI::CreateGuildScheduledEventData
 For creating a GuildScheduledEvent. More...
 
struct  DiscordCoreAPI::CreateGuildStickerData
 For creating a single Sticker. More...
 
struct  DiscordCoreAPI::CreateGuildTemplateData
 For creating a Guild Template. More...
 
class  DiscordCoreAPI::CreateInteractionResponseData
 For creating an Interaction response. More...
 
class  DiscordCoreAPI::CreateMessageData
 For creating a Message. More...
 
struct  DiscordCoreAPI::CreateReactionData
 For creating a single Reaction. More...
 
struct  DiscordCoreAPI::CreateWebHookData
 For creating a new WebHook. More...
 
struct  DiscordCoreAPI::CrosspostMessageData
 For crossposting a Message. More...
 
struct  DiscordCoreAPI::DeleteAllReactionsData
 For deleting all of the Reactions on a particular Message. More...
 
struct  DiscordCoreAPI::DeleteAutoModerationRuleData
 For deleting an auto-moderation-rule. More...
 
struct  DiscordCoreAPI::DeleteChannelPermissionOverwritesData
 For deleting the PermissionTypes overwrites of a given Channel for a given Role or User. More...
 
struct  DiscordCoreAPI::DeleteFollowUpMessageData
 For deleting a follow up Message. More...
 
struct  DiscordCoreAPI::DeleteGlobalApplicationCommandData
 For deleting a single global ApplicationCommand. More...
 
struct  DiscordCoreAPI::DeleteGuildApplicationCommandData
 For deleting a single Guild ApplicationCommand. More...
 
struct  DiscordCoreAPI::DeleteGuildData
 For deleting a Guild. More...
 
struct  DiscordCoreAPI::DeleteGuildEmojiData
 For deleting a Guild Emoji. More...
 
struct  DiscordCoreAPI::DeleteGuildIntegrationData
 For deleting a Guild integration. More...
 
struct  DiscordCoreAPI::DeleteGuildScheduledEventData
 For deleting a single Guild Scheduled Event. More...
 
struct  DiscordCoreAPI::DeleteGuildStickerData
 For deleting a single Sticker. More...
 
struct  DiscordCoreAPI::DeleteGuildTemplateData
 For deleting a Guild Template. More...
 
struct  DiscordCoreAPI::DeleteInteractionResponseData
 For deleting an Interaction response. More...
 
struct  DiscordCoreAPI::DeleteInviteData
 For deleting a single Guild Invite. More...
 
struct  DiscordCoreAPI::DeleteMessageData
 For deleting a Message. More...
 
struct  DiscordCoreAPI::DeleteMessagesBulkData
 For deleting a bulk of Messages. More...
 
struct  DiscordCoreAPI::DeleteOrCloseChannelData
 For deleting or closing a Channel. More...
 
struct  DiscordCoreAPI::DeleteOwnReactionData
 For deleting one's own Reaction. More...
 
struct  DiscordCoreAPI::DeleteReactionsByEmojiData
 For deleting all of the Reactions of a particular Emoji. More...
 
struct  DiscordCoreAPI::DeleteUserReactionData
 For deleting a reaction, by User. More...
 
struct  DiscordCoreAPI::DeleteWebHookData
 For deleting a WebHook. More...
 
struct  DiscordCoreAPI::DeleteWebHookMessageData
 For deleting a WebHook Message. More...
 
struct  DiscordCoreAPI::DeleteWebHookWithTokenData
 For deleting a WebHook, using its Token. More...
 
class  DiscordCoreAPI::DiscordEntity
 Base class for all Discord entities. More...
 
struct  DiscordCoreAPI::EditChannelPermissionOverwritesData
 For editing the PermissionTypes overwrites of a given Channel, for a given Role or User. More...
 
class  DiscordCoreAPI::EditFollowUpMessageData
 For editing a follow up Message. More...
 
struct  DiscordCoreAPI::EditGlobalApplicationCommandData
 For editing a single global ApplicationCommand. More...
 
struct  DiscordCoreAPI::EditGuildApplicationCommandData
 For editing a single Guild ApplicationCommand. More...
 
struct  DiscordCoreAPI::EditGuildApplicationCommandPermissionsData
 For editing the permissions of a single Guild ApplicationCommand. More...
 
class  DiscordCoreAPI::EditInteractionResponseData
 For editing an Interaction response. More...
 
class  DiscordCoreAPI::EditMessageData
 For editing a Message. More...
 
class  DiscordCoreAPI::EditWebHookData
 For editing a WebHook Message. More...
 
struct  DiscordCoreAPI::EmbedAuthorData
 Embed author data. More...
 
class  DiscordCoreAPI::EmbedData
 Embed data. More...
 
struct  DiscordCoreAPI::EmbedFieldData
 Embed field data. More...
 
struct  DiscordCoreAPI::EmbedFooterData
 Embed footer data. More...
 
struct  DiscordCoreAPI::EmbedImageData
 Embed image data. More...
 
struct  DiscordCoreAPI::EmbedProviderData
 Embed provider data. More...
 
struct  DiscordCoreAPI::EmbedThumbnailData
 Embed thumbnail data. More...
 
struct  DiscordCoreAPI::EmbedVideoData
 Embed video data. More...
 
class  DiscordCoreAPI::EmojiData
 Data structure representing a single emoji. More...
 
class  DiscordCoreAPI::ExecuteWebHookData
 For executing a WebHook. More...
 
struct  DiscordCoreAPI::File
 Data representing a file to be sent via multipart-form data. More...
 
struct  DiscordCoreAPI::FollowNewsChannelData
 For following a news Channel. More...
 
struct  DiscordCoreAPI::ForumThreadMessageData
 Represents a forum thread message. More...
 
struct  DiscordCoreAPI::GatewayBotData
 Data from the GetGatewayBot endpoint. More...
 
struct  DiscordCoreAPI::GetActiveGuildThreadsData
 For listing the active Threads in a chosen Guild. More...
 
struct  DiscordCoreAPI::GetActiveThreadsData
 For collecting the list of active Threads. More...
 
struct  DiscordCoreAPI::GetApplicationCommandPermissionsData
 For acquiring the permissions of a single Guild ApplicationCommand. More...
 
struct  DiscordCoreAPI::GetAutoModerationRuleData
 For collecting an auto-moderation-rule for a particular AutoModerationRule. More...
 
struct  DiscordCoreAPI::GetChannelData
 For collecting a Channel from Discord's servers. More...
 
struct  DiscordCoreAPI::GetChannelInvitesData
 For collecting the invites to a given Channel. More...
 
struct  DiscordCoreAPI::GetChannelWebHooksData
 For collecting a list of WebHooks from a chosen Channel. More...
 
struct  DiscordCoreAPI::GetCurrentUserGuildsData
 For collecting a list of Guild's that the Bot is in. More...
 
struct  DiscordCoreAPI::GetEmojiListData
 For collecting a list of Emoji from a Guild. More...
 
struct  DiscordCoreAPI::GetFollowUpMessageData
 For getting a follow-up Message. More...
 
struct  DiscordCoreAPI::GetGlobalApplicationCommandData
 For collecting a single global ApplicationCommand. More...
 
struct  DiscordCoreAPI::GetGlobalApplicationCommandsData
 For getting all of the Global Application Commands. More...
 
struct  DiscordCoreAPI::GetGuildApplicationCommandData
 For acquiring a single Guild ApplicationCommand. More...
 
struct  DiscordCoreAPI::GetGuildApplicationCommandPermissionsData
 For acquiring the permissions of a collection of Guild ApplicationCommands. More...
 
struct  DiscordCoreAPI::GetGuildApplicationCommandsData
 For acquiring all of the Guild ApplicationCommands of a single Guild. More...
 
struct  DiscordCoreAPI::GetGuildAuditLogsData
 For geting a Guild's audit logs. More...
 
struct  DiscordCoreAPI::GetGuildBanData
 For getting a single Guild Ban. More...
 
struct  DiscordCoreAPI::GetGuildBansData
 For getting a list of Guild bans. More...
 
struct  DiscordCoreAPI::GetGuildChannelsData
 For acquiring a list of Channels from a chosen Guild. More...
 
struct  DiscordCoreAPI::GetGuildData
 For getting a Guild from the library's cache or a Discord server. More...
 
struct  DiscordCoreAPI::GetGuildEmojiData
 For collecting a single Guild Emoji. More...
 
struct  DiscordCoreAPI::GetGuildInvitesData
 For geting all of the current invites from a Guild. More...
 
struct  DiscordCoreAPI::GetGuildMemberData
 For getting a GuildMember, from the library's cache or Discord server. More...
 
struct  DiscordCoreAPI::GetGuildMemberRolesData
 For getting a chosen GuildMember's Roles. More...
 
struct  DiscordCoreAPI::GetGuildPreviewData
 For acquiring a Guild preview of a chosen Guild. More...
 
struct  DiscordCoreAPI::GetGuildPruneCountData
 For collecting the Guild prune count. More...
 
struct  DiscordCoreAPI::GetGuildRolesData
 For getting a chosen Guild's Roles. More...
 
struct  DiscordCoreAPI::GetGuildScheduledEventData
 For collecting a single Guild scheduled event. More...
 
struct  DiscordCoreAPI::GetGuildScheduledEventsData
 For collecting a list of a Guild's scheduled events. More...
 
struct  DiscordCoreAPI::GetGuildScheduledEventUsersData
 For collecting a list of Guild Scheduled Event Users. More...
 
struct  DiscordCoreAPI::GetGuildStickersData
 For collecting a list of Stickers from a chosen Guild. More...
 
struct  DiscordCoreAPI::GetGuildTemplateData
 For collecting a Guild's template. More...
 
struct  DiscordCoreAPI::GetGuildTemplatesData
 For collecting a list of Guild Templates from a chosen Guild. More...
 
struct  DiscordCoreAPI::GetGuildVanityInviteData
 For geting the vanity invite responseData of a Guild. More...
 
struct  DiscordCoreAPI::GetGuildVoiceRegionsData
 For collecting a list of Guild voice regions. More...
 
struct  DiscordCoreAPI::GetGuildWebHooksData
 For collecting a list of WebHooks from a chosen Guild. More...
 
struct  DiscordCoreAPI::GetGuildWelcomeScreenData
 For collecting a Guild's welcome screen. More...
 
struct  DiscordCoreAPI::GetGuildWidgetData
 For collecting a Guild's widget. More...
 
struct  DiscordCoreAPI::GetGuildWidgetImageData
 For collecting a Guild's widget image. More...
 
struct  DiscordCoreAPI::GetGuildWidgetObjectData
 Get Guild Widget Data. More...
 
struct  DiscordCoreAPI::GetGuildWidgetSettingsData
 For collecting a Guild's widget settings. More...
 
struct  DiscordCoreAPI::GetInteractionResponseData
 For getting an Interaction response. More...
 
struct  DiscordCoreAPI::GetInviteData
 For geting a single invite's responseData from a Guild. More...
 
struct  DiscordCoreAPI::GetJoinedPrivateArchivedThreadsData
 For collecting joined private archived Threads from a given Channel. More...
 
struct  DiscordCoreAPI::GetMessageData
 For getting a Message. More...
 
struct  DiscordCoreAPI::GetMessagesData
 For getting a collection of Messages. More...
 
struct  DiscordCoreAPI::GetPinnedMessagesData
 For getting a collection of pinned Messages. More...
 
struct  DiscordCoreAPI::GetPrivateArchivedThreadsData
 For collecting private archived Threads from a given Channel. More...
 
struct  DiscordCoreAPI::GetPublicArchivedThreadsData
 For collecting puiblic archived Threads from a given Channel. More...
 
struct  DiscordCoreAPI::GetReactionsData
 For getting all of the Reactions. More...
 
struct  DiscordCoreAPI::GetRoleData
 For getting a Role from the library's cache, or the Discord server. More...
 
struct  DiscordCoreAPI::GetStickerData
 For getting a Sticker object for the given sticker ID. More...
 
struct  DiscordCoreAPI::GetThreadMemberData
 For collecting a ThreadMember responseData structure for a given ThreadMember. More...
 
struct  DiscordCoreAPI::GetThreadMembersData
 For collecting the list of ThreadMembers from a Thread. More...
 
struct  DiscordCoreAPI::GetUserData
 For getting User responseData from the library's cache or the Discord server. More...
 
struct  DiscordCoreAPI::GetWebHookData
 Collects a single WebHook. More...
 
struct  DiscordCoreAPI::GetWebHookMessageData
 For getting a WebHook Message. More...
 
struct  DiscordCoreAPI::GetWebHookWithTokenData
 Collects a single WebHook, using the Token and Id. More...
 
class  DiscordCoreAPI::Guild
 A discord Guild. Used to connect to/disconnect from voice. More...
 
class  DiscordCoreAPI::GuildApplicationCommandPermissionData
 Guild application command permissions data. More...
 
class  DiscordCoreAPI::GuildApplicationCommandPermissionsData
 Represents the Permissions for accessing an ApplicationCommand from within a Guild. More...
 
class  DiscordCoreAPI::GuildData
 Data structure representing a single Guild. More...
 
struct  DiscordCoreAPI::GuildEmojisUpdateEventData
 Data representing a Guild Emoji Update event. More...
 
class  DiscordCoreAPI::GuildMember
 A single GuildMember. More...
 
class  DiscordCoreAPI::GuildMemberData
 Data structure representing a single GuildMember. More...
 
struct  DiscordCoreAPI::GuildPreviewData
 Data representing a single Guild preview. More...
 
struct  DiscordCoreAPI::GuildPruneCountData
 Guild prune count data. More...
 
class  DiscordCoreAPI::GuildScheduledEvent
 A single GuildScheduledEvent responseData structure. More...
 
class  DiscordCoreAPI::GuildScheduledEventData
 Data representing a Guild Scheduled Event. More...
 
struct  DiscordCoreAPI::GuildScheduledEventMetadata
 Guild scheduled event entity metadata. More...
 
struct  DiscordCoreAPI::GuildScheduledEventUserData
 Data representing a single GuildScheduledEventUser. More...
 
struct  DiscordCoreAPI::GuildStickersUpdateEventData
 Data representing a Guild Stickers Update event. More...
 
struct  DiscordCoreAPI::GuildTemplateData
 Represents a Guild Template. More...
 
struct  DiscordCoreAPI::GuildWidgetData
 Guild Widget Data. More...
 
struct  DiscordCoreAPI::GuildWidgetImageData
 Guild widget image data. More...
 
class  DiscordCoreAPI::InputEventData
 Data representing an input-event, which is any Message or Interaction that is coming into the bot as an input. More...
 
struct  DiscordCoreAPI::InstallParamsData
 Install params data, for application data. More...
 
class  DiscordCoreAPI::IntegrationData
 Integration data. More...
 
struct  DiscordCoreAPI::Interaction
 A single Interaction. More...
 
struct  DiscordCoreAPI::InteractionCallbackData
 Interaction ApplicationCommand callback data. More...
 
class  DiscordCoreAPI::InteractionData
 Interaction data. More...
 
struct  DiscordCoreAPI::InteractionDataData
 Interaction data data. More...
 
struct  DiscordCoreAPI::InteractionPackageData
 For storing Interaction-related values. More...
 
struct  DiscordCoreAPI::InteractionResponseData
 Interaction response data. More...
 
struct  DiscordCoreAPI::InviteData
 Invite data. More...
 
struct  DiscordCoreAPI::JoinThreadData
 For joining a Thread. More...
 
struct  DiscordCoreAPI::LeaveGuildData
 For leaving a particular Guild. More...
 
struct  DiscordCoreAPI::LeaveThreadData
 For leaving a Thread. More...
 
struct  DiscordCoreAPI::ListAutoModerationRulesForGuildData
 For listing all of the auto-moderation-rules for a particular Guild . More...
 
struct  DiscordCoreAPI::ListGuildMembersData
 For listing the GuildMembers of a chosen Guild. More...
 
class  DiscordCoreAPI::Message
 A single Message. More...
 
struct  DiscordCoreAPI::MessageActivityData
 Message activity data. More...
 
struct  DiscordCoreAPI::MessageCommandInteractionData
 Message command interacction data. More...
 
class  DiscordCoreAPI::MessageData
 Data structure representing a single Message. More...
 
class  DiscordCoreAPI::MessageDataOld
 The core of a Message's data structure. More...
 
class  DiscordCoreAPI::MessageInteractionData
 Message Interaction data. More...
 
struct  DiscordCoreAPI::MessagePackageData
 For storing Message-related values. More...
 
struct  DiscordCoreAPI::MessageReferenceData
 Message reference data. More...
 
class  DiscordCoreAPI::MessageResponseBase
 Message response base, for responding to messages. More...
 
struct  DiscordCoreAPI::ModalInteractionData
 Modal interaction data, for inputs from text modals. More...
 
struct  DiscordCoreAPI::ModifyAutoModerationRuleData
 For modifying an auto-moderation-rule. More...
 
struct  DiscordCoreAPI::ModifyChannelData
 For modifying a Channel's properties. More...
 
struct  DiscordCoreAPI::ModifyCurrentGuildMemberData
 For modifying the current GuildMember's values. More...
 
struct  DiscordCoreAPI::ModifyCurrentUserData
 For modifying the Bot's User responseData. More...
 
struct  DiscordCoreAPI::ModifyCurrentUserVoiceStateData
 For updating the bot's current voice state. More...
 
struct  DiscordCoreAPI::ModifyGuildChannelPositionData
 For modifying the Channel position responseData of a single Channel. More...
 
struct  DiscordCoreAPI::ModifyGuildChannelPositionsData
 For modifying the current positions of one or more Channels in the Guild. More...
 
struct  DiscordCoreAPI::ModifyGuildData
 For modifying the properties of a chosen Guild. More...
 
struct  DiscordCoreAPI::ModifyGuildEmojiData
 For modifying a Guild Emoji. More...
 
struct  DiscordCoreAPI::ModifyGuildMemberData
 For modifying a GuildMember's values. More...
 
struct  DiscordCoreAPI::ModifyGuildRoleData
 For updating a Role's options within a chosen Guild. More...
 
struct  DiscordCoreAPI::ModifyGuildRolePositionsData
 For updating the Role positions. More...
 
struct  DiscordCoreAPI::ModifyGuildScheduledEventData
 For modifying a single Guild Scheduled Event. More...
 
struct  DiscordCoreAPI::ModifyGuildStickerData
 For modifying a single Sticker. More...
 
struct  DiscordCoreAPI::ModifyGuildTemplateData
 For modifying a Guild Template. More...
 
struct  DiscordCoreAPI::ModifyGuildWelcomeScreenData
 For modifying a Guild's welcome screen. More...
 
struct  DiscordCoreAPI::ModifyGuildWidgetData
 For modifying a Guild's widget. More...
 
struct  DiscordCoreAPI::ModifyUserVoiceStateData
 For modifying a User's voice state. More...
 
struct  DiscordCoreAPI::ModifyWebHookData
 For modifying a WebHook. More...
 
struct  DiscordCoreAPI::ModifyWebHookWithTokenData
 For modifying a WebHook. More...
 
class  DiscordCoreAPI::NewThreadAwaiter< RTy >
 An awaitable that can be used to launch the CoRoutine onto a new thread - as well as return the handle for stoppping its execution. More...
 
class  DiscordCoreAPI::ObjectCollector< OTy >
 OTy collector, for collecting Objects from a Channel. More...
 
struct  DiscordCoreAPI::ObjectCollectorReturnData< OTy >
 ObjectCollectorReturnData responseData. More...
 
class  DiscordCoreAPI::OptionalAuditEntryInfoData
 Audit log entry info data. More...
 
class  DiscordCoreAPI::OverWriteData
 A PermissionTypes overwrite, for a given Channel. More...
 
class  DiscordCoreAPI::Permissions
 Permissions class, for representing and manipulating Permission values. More...
 
struct  DiscordCoreAPI::PinMessageData
 For pinning a single Message. More...
 
struct  DiscordCoreAPI::PresenceUpdateData
 Presence update data. More...
 
class  DiscordCoreAPI::Reaction
 A single Reaction. More...
 
class  DiscordCoreAPI::ReactionData
 /// Data structure representing a single reaction. More...
 
struct  DiscordCoreAPI::ReactionRemoveData
 For removing a reaction. More...
 
struct  DiscordCoreAPI::RemoveGuildBanData
 For removing a previous created Ban. More...
 
struct  DiscordCoreAPI::RemoveGuildMemberData
 For removing a GuildMember from a chosen Guild. More...
 
struct  DiscordCoreAPI::RemoveGuildMemberRoleData
 For removing a Role from a GuildMember. More...
 
struct  DiscordCoreAPI::RemoveGuildRoleData
 For removing a Role from a chosen Guild. More...
 
struct  DiscordCoreAPI::RemoveRecipientFromGroupDMData
 For removing a User from a group DM. More...
 
struct  DiscordCoreAPI::RemoveThreadMemberData
 For removing a chosen User from a Thread. More...
 
struct  DiscordCoreAPI::RepeatedFunctionData
 Function data for repeated functions to be loaded. More...
 
struct  DiscordCoreAPI::ResolvedData
 Resolved data. More...
 
class  DiscordCoreAPI::RespondToInputEventData
 Data for responding to an input-event. More...
 
class  DiscordCoreAPI::Role
 A single Role. More...
 
class  DiscordCoreAPI::RoleData
 Data structure representing a single Role. More...
 
struct  DiscordCoreAPI::RolePositionData
 For updating the positions of the roles. More...
 
struct  DiscordCoreAPI::RoleTagsData
 Role tags data. More...
 
struct  DiscordCoreAPI::SearchGuildMembersData
 For searching for one or more GuildMembers within a chosen Guild. More...
 
class  DiscordCoreAPI::SelectOptionData
 Represents a single selection from a select-menu. More...
 
class  DiscordCoreAPI::SendDMData
 For sending a direct-message. More...
 
struct  DiscordCoreAPI::SessionStartData
 Data from the SessionStart info. More...
 
struct  DiscordCoreAPI::ShardingOptions
 Sharding options for the library. More...
 
class  DiscordCoreAPI::StageInstanceData
 Stage instance data. More...
 
struct  DiscordCoreAPI::StartThreadInForumChannelData
 For starting a Thread, in a forum channel. More...
 
struct  DiscordCoreAPI::StartThreadWithMessageData
 For starting a Thread, based on a Message. More...
 
struct  DiscordCoreAPI::StartThreadWithoutMessageData
 For starting a Thread, not based on a Message. More...
 
class  DiscordCoreAPI::Sticker
 A single Sticker. More...
 
class  DiscordCoreAPI::StickerData
 Data representing a single Sticker. More...
 
class  DiscordCoreAPI::StickerItemData
 Message Sticker item data. More...
 
struct  DiscordCoreAPI::StickerPackData
 Represents a Sticker pack. More...
 
struct  DiscordCoreAPI::StreamInfo
 For connecting two bots to stream the VC contents between the two. More...
 
struct  DiscordCoreAPI::SyncGuildTemplateData
 For syncing a Guild Template. More...
 
struct  DiscordCoreAPI::TeamMembersObjectData
 Team members object data. More...
 
class  DiscordCoreAPI::TeamObjectData
 Team object data. More...
 
class  DiscordCoreAPI::Thread
 Represents a single Thread. More...
 
struct  DiscordCoreAPI::ThreadListSyncData
 Data for when threads are synced. More...
 
class  DiscordCoreAPI::ThreadMemberData
 Data for a single member of a Thread. More...
 
class  DiscordCoreAPI::ThreadMembersUpdateData
 Represents a Thread-members-update. More...
 
struct  DiscordCoreAPI::ThreadMetadataData
 Meta data for a Thread type of Channel. More...
 
struct  DiscordCoreAPI::TimeoutGuildMemberData
 For timing out a GuildMember. More...
 
class  DiscordCoreAPI::TimeStamp
 Class for representing a timeStamp, as well as working with time-related values. More...
 
struct  DiscordCoreAPI::TriggerMetaData
 Trigger metadata for auto-moderation-rules. More...
 
struct  DiscordCoreAPI::TriggerTypingIndicatorData
 For triggering the typing indicator in a given Channel. More...
 
struct  DiscordCoreAPI::TypingStartData
 Representing "TypingStart" data. More...
 
class  DiscordCoreAPI::UnboundedMessageBlock< OTy >
 A thread-safe messaging block for data-structures. More...
 
struct  DiscordCoreAPI::UnpinMessageData
 For unpinning a single Message. More...
 
struct  DiscordCoreAPI::UpdateChannelData
 For updating/modifying a given Channel's properties. More...
 
struct  DiscordCoreAPI::UpdatePresenceData
 For updating a User's presence. More...
 
struct  DiscordCoreAPI::UpdateVoiceStateData
 For updating the current voice state. More...
 
class  DiscordCoreAPI::User
 A single User. More...
 
struct  DiscordCoreAPI::UserCommandInteractionData
 User command Interaction data. More...
 
class  DiscordCoreAPI::UserData
 Data structure representing a single User. More...
 
struct  DiscordCoreAPI::VoiceRegionData
 Structure representing Voice Region Data. More...
 
struct  DiscordCoreAPI::VoiceStateData
 Voice state data. More...
 
struct  DiscordCoreAPI::VoiceStateDataLight
 Voice state data. More...
 
class  DiscordCoreAPI::WebHook
 A single WebHook. More...
 
class  DiscordCoreAPI::WebHookData
 WebHook data. More...
 
struct  DiscordCoreAPI::WelcomeScreenChannelData
 Welcome screen Channel data. More...
 
struct  DiscordCoreAPI::WelcomeScreenData
 Welcome screen data. More...
 
class  DiscordCoreAPI::YouTubeFormatVector
 YouTube format data. More...
 
class  DiscordCoreInternal::HttpsResponseCode
 Voice Websocket close codes. More...
 
class  DiscordCoreInternal::VoiceWebSocketClose
 Voice Websocket close codes. More...
 
class  DiscordCoreInternal::WebSocketClose
 Websocket close codes. More...
 

Typedefs

template<typename OTy >
using DiscordCoreAPI::ObjectFilter = std::function< bool(OTy)>
 Typedef for the message filter.
 

Enumerations

enum class  DiscordCoreAPI::ActionType : uint8_t { DiscordCoreAPI::ActionType::Block_Message = 1 , DiscordCoreAPI::ActionType::Send_Alert_Message = 2 , DiscordCoreAPI::ActionType::Timeout = 3 }
 Action types for auto-moderation. More...
 
enum class  DiscordCoreAPI::ActivityType : uint8_t {
  DiscordCoreAPI::ActivityType::Game = 0 , DiscordCoreAPI::ActivityType::Streaming = 1 , DiscordCoreAPI::ActivityType::Listening = 2 , DiscordCoreAPI::ActivityType::Watching = 3 ,
  DiscordCoreAPI::ActivityType::Custom = 4 , DiscordCoreAPI::ActivityType::Competing = 5
}
 Activity types. More...
 
enum class  DiscordCoreAPI::AfkTimeOutDurations : uint16_t {
  DiscordCoreAPI::AfkTimeOutDurations::Shortest = 60 , DiscordCoreAPI::AfkTimeOutDurations::Short = 300 , DiscordCoreAPI::AfkTimeOutDurations::Medium = 900 , DiscordCoreAPI::AfkTimeOutDurations::Long = 1800 ,
  DiscordCoreAPI::AfkTimeOutDurations::Longest = 3600
}
 Afk timeout durations. More...
 
enum class  DiscordCoreAPI::ApplicationCommandOptionType : uint8_t {
  DiscordCoreAPI::ApplicationCommandOptionType::Sub_Command = 1 , DiscordCoreAPI::ApplicationCommandOptionType::Sub_Command_Group = 2 , DiscordCoreAPI::ApplicationCommandOptionType::String = 3 , DiscordCoreAPI::ApplicationCommandOptionType::Integer = 4 ,
  DiscordCoreAPI::ApplicationCommandOptionType::Boolean = 5 , DiscordCoreAPI::ApplicationCommandOptionType::User = 6 , DiscordCoreAPI::ApplicationCommandOptionType::Channel = 7 , DiscordCoreAPI::ApplicationCommandOptionType::Role = 8 ,
  DiscordCoreAPI::ApplicationCommandOptionType::Mentionable = 9 , DiscordCoreAPI::ApplicationCommandOptionType::Number = 10 , DiscordCoreAPI::ApplicationCommandOptionType::Attachment = 11
}
 Application command-option types. More...
 
enum class  DiscordCoreAPI::ApplicationCommandPermissionType : uint8_t { DiscordCoreAPI::ApplicationCommandPermissionType::Role = 1 , DiscordCoreAPI::ApplicationCommandPermissionType::User = 2 , DiscordCoreAPI::ApplicationCommandPermissionType::Channel = 3 }
 Application command permission-types. More...
 
enum class  DiscordCoreAPI::ApplicationCommandType : uint8_t { DiscordCoreAPI::ApplicationCommandType::Chat_Input = 1 , DiscordCoreAPI::ApplicationCommandType::User = 2 , DiscordCoreAPI::ApplicationCommandType::Message = 3 }
 Application command types. More...
 
enum class  DiscordCoreAPI::ApplicationFlags : uint32_t {
  DiscordCoreAPI::ApplicationFlags::Gateway_Presence = 1 << 12 , DiscordCoreAPI::ApplicationFlags::Gateway_Presence_Limited , DiscordCoreAPI::ApplicationFlags::Gateway_Guild_Members = 1 << 14 , DiscordCoreAPI::ApplicationFlags::Gateway_Guild_Members_Limited ,
  DiscordCoreAPI::ApplicationFlags::Verificatino_Pending_Guild_Limit = 1 << 16 , DiscordCoreAPI::ApplicationFlags::Embedded = 1 << 17 , DiscordCoreAPI::ApplicationFlags::Gateway_Message_Content = 1 << 18 , DiscordCoreAPI::ApplicationFlags::Gateway_Message_Content_Limited
}
 Application flags, for the ApplicationData structure. More...
 
enum class  DiscordCoreAPI::AuditLogEvent : uint8_t {
  DiscordCoreAPI::AuditLogEvent::Guild_Update = 1 , DiscordCoreAPI::AuditLogEvent::Channel_Create = 10 , DiscordCoreAPI::AuditLogEvent::Channel_Update = 11 , DiscordCoreAPI::AuditLogEvent::Channel_Delete = 12 ,
  DiscordCoreAPI::AuditLogEvent::Channel_Overwrite_Create = 13 , DiscordCoreAPI::AuditLogEvent::Channel_Overwrite_Update = 14 , DiscordCoreAPI::AuditLogEvent::Channel_Overwrite_Delete = 15 , DiscordCoreAPI::AuditLogEvent::Member_Kick = 20 ,
  DiscordCoreAPI::AuditLogEvent::Member_Prune = 21 , DiscordCoreAPI::AuditLogEvent::Member_Ban_Add = 22 , DiscordCoreAPI::AuditLogEvent::Member_Ban_Remove = 23 , DiscordCoreAPI::AuditLogEvent::Member_Update = 24 ,
  DiscordCoreAPI::AuditLogEvent::Member_Role_Update = 25 , DiscordCoreAPI::AuditLogEvent::Member_Move = 26 , DiscordCoreAPI::AuditLogEvent::Member_Disconnect = 27 , DiscordCoreAPI::AuditLogEvent::Bot_Add = 28 ,
  DiscordCoreAPI::AuditLogEvent::Role_Create = 30 , DiscordCoreAPI::AuditLogEvent::Role_Update = 31 , DiscordCoreAPI::AuditLogEvent::Role_Delete = 32 , DiscordCoreAPI::AuditLogEvent::Invite_Create = 40 ,
  DiscordCoreAPI::AuditLogEvent::Invite_Update = 41 , DiscordCoreAPI::AuditLogEvent::Invite_Delete = 42 , DiscordCoreAPI::AuditLogEvent::Webhook_Create = 50 , DiscordCoreAPI::AuditLogEvent::Webhook_Update = 51 ,
  DiscordCoreAPI::AuditLogEvent::Webhook_Delete = 52 , DiscordCoreAPI::AuditLogEvent::Emoji_Create = 60 , DiscordCoreAPI::AuditLogEvent::Emoji_Update = 61 , DiscordCoreAPI::AuditLogEvent::Emoji_Delete = 62 ,
  DiscordCoreAPI::AuditLogEvent::Message_Delete = 72 , DiscordCoreAPI::AuditLogEvent::Message_Bulk_Delete = 73 , DiscordCoreAPI::AuditLogEvent::Message_Pin = 74 , DiscordCoreAPI::AuditLogEvent::Message_Unpin = 75 ,
  DiscordCoreAPI::AuditLogEvent::Integration_Create = 80 , DiscordCoreAPI::AuditLogEvent::Integration_Update = 81 , DiscordCoreAPI::AuditLogEvent::Integration_Delete = 82 , DiscordCoreAPI::AuditLogEvent::Stage_Instance_Create = 83 ,
  DiscordCoreAPI::AuditLogEvent::Stage_Instance_Update = 84 , DiscordCoreAPI::AuditLogEvent::Stage_Instance_Delete = 85 , DiscordCoreAPI::AuditLogEvent::Sticker_Create = 90 , DiscordCoreAPI::AuditLogEvent::Sticker_Update = 91 ,
  DiscordCoreAPI::AuditLogEvent::Sticker_Delete = 92 , DiscordCoreAPI::AuditLogEvent::Guild_Scheduled_Event_Create = 100 , DiscordCoreAPI::AuditLogEvent::Guild_Scheduled_Event_Update = 101 , DiscordCoreAPI::AuditLogEvent::Guild_Scheduled_Event_Delete = 102 ,
  DiscordCoreAPI::AuditLogEvent::Thread_Create = 110 , DiscordCoreAPI::AuditLogEvent::Thread_Update = 111 , DiscordCoreAPI::AuditLogEvent::Thread_Delete = 112 , DiscordCoreAPI::AuditLogEvent::Application_Command_Permission_Update = 121 ,
  DiscordCoreAPI::AuditLogEvent::Auto_Moderation_Rule_Create = 140 , DiscordCoreAPI::AuditLogEvent::Auto_Moderation_Rule_Update = 141 , DiscordCoreAPI::AuditLogEvent::Auto_Moderation_Rule_Delete = 142 , DiscordCoreAPI::AuditLogEvent::Auto_Moderation_Block_Message = 143
}
 Audit log events. More...
 
enum class  DiscordCoreAPI::ButtonStyle : uint8_t {
  DiscordCoreAPI::ButtonStyle::Primary = 1 , DiscordCoreAPI::ButtonStyle::Success = 3 , DiscordCoreAPI::ButtonStyle::Secondary = 2 , DiscordCoreAPI::ButtonStyle::Danger = 4 ,
  DiscordCoreAPI::ButtonStyle::Link = 5
}
 Button styles. More...
 
enum class  DiscordCoreAPI::ChannelType : uint8_t {
  DiscordCoreAPI::ChannelType::Guild_Text = 0 , DiscordCoreAPI::ChannelType::DM = 1 , DiscordCoreAPI::ChannelType::Guild_Voice = 2 , DiscordCoreAPI::ChannelType::Group_DM = 3 ,
  DiscordCoreAPI::ChannelType::Guild_Category = 4 , DiscordCoreAPI::ChannelType::Guild_Announcement = 5 , DiscordCoreAPI::ChannelType::Announcement_Thread = 10 , DiscordCoreAPI::ChannelType::Public_Thread = 11 ,
  DiscordCoreAPI::ChannelType::Private_Thread , DiscordCoreAPI::ChannelType::Guild_Stage_Voice = 13 , DiscordCoreAPI::ChannelType::Guild_Directory = 14 , DiscordCoreAPI::ChannelType::Guild_Forum = 15
}
 Channel types. More...
 
enum class  DiscordCoreAPI::ComponentType : uint8_t {
  DiscordCoreAPI::ComponentType::Action_Row = 1 , DiscordCoreAPI::ComponentType::Button = 2 , DiscordCoreAPI::ComponentType::String_Select = 3 , DiscordCoreAPI::ComponentType::Text_Input = 4 ,
  DiscordCoreAPI::ComponentType::User_Select = 5 , DiscordCoreAPI::ComponentType::Role_Select = 6 , DiscordCoreAPI::ComponentType::Mentionable_Select = 7 , DiscordCoreAPI::ComponentType::Channel_Select = 8
}
 Component types. More...
 
enum class  DiscordCoreAPI::ConnectionVisibilityTypes : uint8_t { DiscordCoreAPI::ConnectionVisibilityTypes::None = 0 , DiscordCoreAPI::ConnectionVisibilityTypes::Everyone = 1 }
 Connection visibility types. More...
 
enum class  DiscordCoreAPI::DefaultMessageNotificationLevel : uint8_t { DiscordCoreAPI::DefaultMessageNotificationLevel::All_Messages = 0 , DiscordCoreAPI::DefaultMessageNotificationLevel::Only_Mentions = 1 }
 Default Message notification levels. More...
 
enum class  DiscordCoreAPI::EmbedType : uint8_t {
  DiscordCoreAPI::EmbedType::Rich = 0 , DiscordCoreAPI::EmbedType::Image = 1 , DiscordCoreAPI::EmbedType::Video = 2 , DiscordCoreAPI::EmbedType::Gifv = 3 ,
  DiscordCoreAPI::EmbedType::Article = 4 , DiscordCoreAPI::EmbedType::link = 5
}
 Embed types. More...
 
enum class  DiscordCoreAPI::EventType : uint8_t { DiscordCoreAPI::EventType::Message_Send = 1 }
 Event types for auto-moderation. More...
 
enum class  DiscordCoreAPI::ExplicitContentFilterLevel : uint8_t { DiscordCoreAPI::ExplicitContentFilterLevel::Disabled = 0 , DiscordCoreAPI::ExplicitContentFilterLevel::Members_Without_Roles = 1 , DiscordCoreAPI::ExplicitContentFilterLevel::All_Members = 2 }
 Explicit content filter levels. More...
 
enum class  DiscordCoreAPI::GatewayIntents : uint32_t {
  DiscordCoreAPI::GatewayIntents::Guilds = 1 << 0 , DiscordCoreAPI::GatewayIntents::Guild_Members = 1 << 1 , DiscordCoreAPI::GatewayIntents::Guild_Bans = 1 << 2 , DiscordCoreAPI::GatewayIntents::Guild_Emojis = 1 << 3 ,
  DiscordCoreAPI::GatewayIntents::Guild_Integrations = 1 << 4 , DiscordCoreAPI::GatewayIntents::Guild_Webhooks = 1 << 5 , DiscordCoreAPI::GatewayIntents::Guild_Invites = 1 << 6 , DiscordCoreAPI::GatewayIntents::Guild_VoiceStates = 1 << 7 ,
  DiscordCoreAPI::GatewayIntents::Guild_Presences = 1 << 8 , DiscordCoreAPI::GatewayIntents::Guild_Messages = 1 << 9 , DiscordCoreAPI::GatewayIntents::Guild_Message_Reactions = 1 << 10 , DiscordCoreAPI::GatewayIntents::Guild_Message_Typing = 1 << 11 ,
  DiscordCoreAPI::GatewayIntents::Direct_Messages = 1 << 12 , DiscordCoreAPI::GatewayIntents::Direct_Message_Reactions = 1 << 13 , DiscordCoreAPI::GatewayIntents::Direct_Message_Typing = 1 << 14 , DiscordCoreAPI::GatewayIntents::Message_Content = 1 << 15 ,
  DiscordCoreAPI::GatewayIntents::Guild_Scheduled_Events = 1 << 16 , DiscordCoreAPI::GatewayIntents::Default_Intents , DiscordCoreAPI::GatewayIntents::Privileged_Intents = Guild_Members | Guild_Presences | Message_Content , DiscordCoreAPI::GatewayIntents::All_Intents = Default_Intents | Privileged_Intents
}
 Gateway intents. More...
 
enum class  DiscordCoreAPI::GuildFlags : uint8_t {
  DiscordCoreAPI::GuildFlags::WidgetEnabled = 1 << 0 , DiscordCoreAPI::GuildFlags::Unavailable = 1 << 1 , DiscordCoreAPI::GuildFlags::Owner = 1 << 2 , DiscordCoreAPI::GuildFlags::Large = 1 << 3 ,
  DiscordCoreAPI::GuildFlags::Premium_Progress_Bar_Enabled = 1 << 4
}
 Guild flags. More...
 
enum class  DiscordCoreAPI::GuildNSFWLevel : uint8_t { DiscordCoreAPI::GuildNSFWLevel::Default = 0 , DiscordCoreAPI::GuildNSFWLevel::Explicit = 1 , DiscordCoreAPI::GuildNSFWLevel::Safe = 2 , DiscordCoreAPI::GuildNSFWLevel::Age_Restricted = 3 }
 Guild NSFW level. More...
 
enum class  DiscordCoreAPI::GuildScheduledEventEntityType : uint8_t { DiscordCoreAPI::GuildScheduledEventEntityType::None = 0 , DiscordCoreAPI::GuildScheduledEventEntityType::State_Instance = 1 , DiscordCoreAPI::GuildScheduledEventEntityType::Voice = 2 , DiscordCoreAPI::GuildScheduledEventEntityType::External = 3 }
 Guild scheduled event entity types. More...
 
enum class  DiscordCoreAPI::GuildScheduledEventPrivacyLevel : uint8_t { DiscordCoreAPI::GuildScheduledEventPrivacyLevel::Public = 1 , DiscordCoreAPI::GuildScheduledEventPrivacyLevel::Guild_Only = 2 }
 Guild scheduled event privacy levels. More...
 
enum class  DiscordCoreAPI::GuildScheduledEventStatus : uint8_t { DiscordCoreAPI::GuildScheduledEventStatus::Scheduled = 1 , DiscordCoreAPI::GuildScheduledEventStatus::Active = 2 , DiscordCoreAPI::GuildScheduledEventStatus::Completed = 3 , DiscordCoreAPI::GuildScheduledEventStatus::Canceled = 4 }
 GuildScheduledEventStatus. More...
 
enum class  DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes : uint32_t {
  DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Ok = 200 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Created = 201 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::No_Content = 204 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Not_Modifies = 304 ,
  DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Bad_Request = 400 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Unauthorized = 401 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Forbidden = 403 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Not_Found = 404 ,
  DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Method_Not_Allowed = 405 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Too_Many_Requests = 429 , DiscordCoreInternal::HttpsResponseCode::HttpsResponseCodes::Gatewat_Unavailable = 502
}
 Voice Websocket close codes. More...
 
enum class  DiscordCoreAPI::InputEventResponseType : uint8_t {
  DiscordCoreAPI::InputEventResponseType::Unset = 0 , Deferred_Response = 1 , DiscordCoreAPI::InputEventResponseType::Ephemeral_Deferred_Response = 2 , DiscordCoreAPI::InputEventResponseType::Interaction_Response = 3 ,
  DiscordCoreAPI::InputEventResponseType::Ephemeral_Interaction_Response = 4 , DiscordCoreAPI::InputEventResponseType::Edit_Interaction_Response = 5 , DiscordCoreAPI::InputEventResponseType::Follow_Up_Message = 6 , DiscordCoreAPI::InputEventResponseType::Ephemeral_Follow_Up_Message = 7 ,
  DiscordCoreAPI::InputEventResponseType::Edit_Follow_Up_Message = 8 , DiscordCoreAPI::InputEventResponseType::Application_Command_AutoComplete_Result = 9 , DiscordCoreAPI::InputEventResponseType::Modal_Interaction_Response = 10
}
 Input event response types. More...
 
enum class  DiscordCoreAPI::InteractionCallbackType : uint8_t {
  DiscordCoreAPI::InteractionCallbackType::Pong = 1 , DiscordCoreAPI::InteractionCallbackType::Channel_Message_With_Source = 4 , DiscordCoreAPI::InteractionCallbackType::Deferred_Channel_Message_With_Source = 5 , DiscordCoreAPI::InteractionCallbackType::Deferred_Update_Message ,
  DiscordCoreAPI::InteractionCallbackType::Update_Message = 7 , DiscordCoreAPI::InteractionCallbackType::Application_Command_Autocomplete_Result = 8 , DiscordCoreAPI::InteractionCallbackType::Modal = 9
}
 Interaction callback types. More...
 
enum class  DiscordCoreAPI::InteractionType : uint8_t {
  DiscordCoreAPI::InteractionType::Ping = 1 , DiscordCoreAPI::InteractionType::Application_Command = 2 , DiscordCoreAPI::InteractionType::Message_Component = 3 , DiscordCoreAPI::InteractionType::Application_Command_Autocomplete = 4 ,
  DiscordCoreAPI::InteractionType::Modal_Submit = 5
}
 Interaction types. More...
 
enum class  DiscordCoreAPI::InviteTargetTypes : uint8_t { DiscordCoreAPI::InviteTargetTypes::Stream = 1 , DiscordCoreAPI::InviteTargetTypes::Embedded_Application = 2 }
 Invite target types. More...
 
enum class  DiscordCoreAPI::KeywordPresetType : uint8_t { DiscordCoreAPI::KeywordPresetType::Profanity = 1 , DiscordCoreAPI::KeywordPresetType::Sexual_Content = 2 , DiscordCoreAPI::KeywordPresetType::Slurs = 3 }
 Keyword preset types for auto-moderation. More...
 
enum class  DiscordCoreAPI::MessageActivityType : uint8_t { DiscordCoreAPI::MessageActivityType::Join = 1 , DiscordCoreAPI::MessageActivityType::Spectate = 2 , DiscordCoreAPI::MessageActivityType::Listen = 3 , DiscordCoreAPI::MessageActivityType::Join_Request = 5 }
 Message activity types. More...
 
enum class  DiscordCoreAPI::MessageFlags : uint8_t {
  DiscordCoreAPI::MessageFlags::Crossposted = 1 << 0 , DiscordCoreAPI::MessageFlags::Is_Crosspost = 1 << 1 , DiscordCoreAPI::MessageFlags::Suppress_Embeds = 1 << 2 , DiscordCoreAPI::MessageFlags::Source_Message_Deleted = 1 << 3 ,
  DiscordCoreAPI::MessageFlags::Urgent = 1 << 4 , DiscordCoreAPI::MessageFlags::Has_Thread = 1 << 5 , DiscordCoreAPI::MessageFlags::Ephemeral = 1 << 6 , DiscordCoreAPI::MessageFlags::Loading = 1 << 7
}
 Message flags. More...
 
enum class  DiscordCoreAPI::MessageType : uint8_t {
  DiscordCoreAPI::MessageType::Default = 0 , DiscordCoreAPI::MessageType::Recipient_Add = 1 , DiscordCoreAPI::MessageType::Recipient_Remove = 2 , DiscordCoreAPI::MessageType::Call = 3 ,
  DiscordCoreAPI::MessageType::Channel_Name_Change = 4 , DiscordCoreAPI::MessageType::Channel_Icon_Change = 5 , DiscordCoreAPI::MessageType::Channel_Pinned_Message = 6 , DiscordCoreAPI::MessageType::Guild_Member_Join = 7 ,
  DiscordCoreAPI::MessageType::User_Premium_Guild_Subscription = 8 , DiscordCoreAPI::MessageType::User_Premium_Guild_Subscription_Tier_1 = 9 , DiscordCoreAPI::MessageType::User_Premium_Guild_Subscription_Tier_2 = 10 , DiscordCoreAPI::MessageType::User_Premium_Guild_Subscription_Tier_3 = 11 ,
  DiscordCoreAPI::MessageType::Channel_Follow_Add = 12 , DiscordCoreAPI::MessageType::Guild_Discovery_Disqualified = 14 , DiscordCoreAPI::MessageType::Guild_Discovery_Requalified = 15 , DiscordCoreAPI::MessageType::Guild_Discovery_Grace_Period_Initial_Warning = 16 ,
  DiscordCoreAPI::MessageType::Guild_Discovery_Grace_Period_Final_Warning = 17 , DiscordCoreAPI::MessageType::Thread_Created = 18 , DiscordCoreAPI::MessageType::Reply = 19 , DiscordCoreAPI::MessageType::Chat_Input_Command = 20 ,
  DiscordCoreAPI::MessageType::Thread_Starter_Message = 21 , DiscordCoreAPI::MessageType::Guild_Invite_Reminder = 22 , DiscordCoreAPI::MessageType::Context_Menu_Command = 23
}
 Message types. More...
 
enum class  DiscordCoreAPI::MFALevel : uint8_t { DiscordCoreAPI::MFALevel::None = 0 , DiscordCoreAPI::MFALevel::Elevated = 1 }
 MFA levels. More...
 
enum class  DiscordCoreAPI::Permission : uint64_t {
  DiscordCoreAPI::Permission::Create_Instant_Invite = 1ull << 0 , DiscordCoreAPI::Permission::Kick_Members = 1ull << 1 , DiscordCoreAPI::Permission::Ban_Members = 1ull << 2 , DiscordCoreAPI::Permission::Administrator = 1ull << 3 ,
  DiscordCoreAPI::Permission::Manage_Channels = 1ull << 4 , DiscordCoreAPI::Permission::Manage_Guild = 1ull << 5 , DiscordCoreAPI::Permission::Add_Reactions = 1ull << 6 , DiscordCoreAPI::Permission::View_Audit_Log = 1ull << 7 ,
  DiscordCoreAPI::Permission::Priority_Speaker = 1ull << 8 , DiscordCoreAPI::Permission::Stream = 1ull << 9 , DiscordCoreAPI::Permission::View_Channel = 1ull << 10 , DiscordCoreAPI::Permission::Send_Messages = 1ull << 11 ,
  DiscordCoreAPI::Permission::Send_Tts_Messages = 1ull << 12 , DiscordCoreAPI::Permission::Manage_Messages = 1ull << 13 , DiscordCoreAPI::Permission::Embed_Links = 1ull << 14 , DiscordCoreAPI::Permission::Attach_Files = 1ull << 15 ,
  DiscordCoreAPI::Permission::Read_Message_History = 1ull << 16 , DiscordCoreAPI::Permission::Mention_Everyone = 1ull << 17 , DiscordCoreAPI::Permission::Use_External_Emojis = 1ull << 18 , DiscordCoreAPI::Permission::View_Guild_Insights = 1ull << 19 ,
  DiscordCoreAPI::Permission::Connect = 1ull << 20 , DiscordCoreAPI::Permission::Speak = 1ull << 21 , DiscordCoreAPI::Permission::Mute_Members = 1ull << 22 , DiscordCoreAPI::Permission::Deafen_Members = 1ull << 23 ,
  DiscordCoreAPI::Permission::Move_Members = 1ull << 24 , DiscordCoreAPI::Permission::Use_Vad = 1ull << 25 , DiscordCoreAPI::Permission::Change_Nickname = 1ull << 26 , DiscordCoreAPI::Permission::Manage_Nicknames = 1ull << 27 ,
  DiscordCoreAPI::Permission::Manage_Roles = 1ull << 28 , DiscordCoreAPI::Permission::Manage_Webhooks = 1ull << 29 , DiscordCoreAPI::Permission::Manage_Emojis_And_Stickers = 1ull << 30 , DiscordCoreAPI::Permission::Use_Application_Commands = 1ull << 31 ,
  DiscordCoreAPI::Permission::Request_To_Speak = 1ull << 32 , DiscordCoreAPI::Permission::Manage_Events = 1ull << 33 , DiscordCoreAPI::Permission::Manage_Threads = 1ull << 34 , DiscordCoreAPI::Permission::Create_Public_Threads = 1ull << 35 ,
  DiscordCoreAPI::Permission::Create_Private_Threads = 1ull << 36 , DiscordCoreAPI::Permission::Use_External_Stickers = 1ull << 37 , DiscordCoreAPI::Permission::Send_Messages_In_Threads = 1ull << 38 , DiscordCoreAPI::Permission::Start_Embedded_Activities = 1ull << 39 ,
  DiscordCoreAPI::Permission::Moderate_Members = 1ull << 40
}
 Permission values, for a given Channel, by Role or GuildMember. More...
 
enum class  DiscordCoreAPI::PermissionOverwritesType : uint8_t { DiscordCoreAPI::PermissionOverwritesType::Role = 0 , DiscordCoreAPI::PermissionOverwritesType::User = 1 }
 PermissionTypes overwrites types. More...
 
enum class  DiscordCoreAPI::PremiumTier : uint8_t { DiscordCoreAPI::PremiumTier::None = 0 , DiscordCoreAPI::PremiumTier::Tier_1 = 1 , DiscordCoreAPI::PremiumTier::Tier_2 = 2 , DiscordCoreAPI::PremiumTier::Tier_3 = 3 }
 Premium tier levels. More...
 
enum class  DiscordCoreAPI::PremiumType : uint8_t { DiscordCoreAPI::PremiumType::None = 0 , DiscordCoreAPI::PremiumType::Nitro_Classic = 1 , DiscordCoreAPI::PremiumType::Nitro = 2 }
 Premium types denote the level of premium a user has. More...
 
enum class  DiscordCoreAPI::SortOrderTypes { DiscordCoreAPI::SortOrderTypes::Latest_Activity = 0 , DiscordCoreAPI::SortOrderTypes::Creation_Date = 1 }
 The sorting order, for Guild Forum channels. More...
 
enum class  DiscordCoreAPI::StageInstancePrivacyLevel : uint8_t { DiscordCoreAPI::StageInstancePrivacyLevel::Public = 1 , DiscordCoreAPI::StageInstancePrivacyLevel::Guild_Only = 2 }
 Stage instance privacy levels. More...
 
enum class  DiscordCoreAPI::StickerFormatType : uint8_t { DiscordCoreAPI::StickerFormatType::Png = 1 , DiscordCoreAPI::StickerFormatType::Apng = 2 , DiscordCoreAPI::StickerFormatType::Lottie = 3 }
 Sticker format types. More...
 
enum class  DiscordCoreAPI::StickerItemType : uint8_t { DiscordCoreAPI::StickerItemType::Png = 1 , DiscordCoreAPI::StickerItemType::Apng = 2 , DiscordCoreAPI::StickerItemType::Lottie = 3 }
 Sticker item types. More...
 
enum class  DiscordCoreAPI::StickerType : uint8_t { DiscordCoreAPI::StickerType::Standard = 1 , DiscordCoreAPI::StickerType::Guild = 2 }
 Sticker types. More...
 
enum class  DiscordCoreAPI::StreamType
 For selecting the type of streamer that the given bot is, one must be one server and one of client per connection.
 
enum class  DiscordCoreAPI::SystemChannelFlags : uint8_t { DiscordCoreAPI::SystemChannelFlags::Suppress_Join_Notifications = 1 << 0 , DiscordCoreAPI::SystemChannelFlags::Suppress_Premium_Subscriptions = 1 << 1 , DiscordCoreAPI::SystemChannelFlags::Suppress_Guild_Reminder_Notifications = 1 << 2 , DiscordCoreAPI::SystemChannelFlags::Suppress_Join_Notification_Replies = 1 << 3 }
 System channel flags. More...
 
enum class  DiscordCoreAPI::TextFormat : uint8_t { DiscordCoreAPI::TextFormat::Etf = 0x00 , DiscordCoreAPI::TextFormat::Json = 0x01 }
 Represents which text format to use for websocket transfer. More...
 
enum class  DiscordCoreAPI::TextInputStyle : uint8_t { DiscordCoreAPI::TextInputStyle::Short = 1 , DiscordCoreAPI::TextInputStyle::Paragraph = 2 }
 Text input style for modals. More...
 
enum class  DiscordCoreAPI::ThreadAutoArchiveDuration : uint16_t { DiscordCoreAPI::ThreadAutoArchiveDuration::Shortest = 60 , DiscordCoreAPI::ThreadAutoArchiveDuration::Short = 1440 , DiscordCoreAPI::ThreadAutoArchiveDuration::Long = 4320 , DiscordCoreAPI::ThreadAutoArchiveDuration::Longest = 10080 }
 Automatic Thread archiving durations. More...
 
enum class  DiscordCoreAPI::ThreadType : uint8_t { DiscordCoreAPI::ThreadType::Guild_News_Thread = 10 , DiscordCoreAPI::ThreadType::Guild_Public_Thread = 11 , DiscordCoreAPI::ThreadType::Guild_Private_Thread = 12 }
 Thread types. More...
 
enum class  DiscordCoreAPI::TimeoutDurations : uint16_t {
  DiscordCoreAPI::TimeoutDurations::None = 0 , DiscordCoreAPI::TimeoutDurations::Minute = 1 , DiscordCoreAPI::TimeoutDurations::Five_Minutes = 5 , DiscordCoreAPI::TimeoutDurations::Ten_Minutes = 10 ,
  DiscordCoreAPI::TimeoutDurations::Hour = 60 , DiscordCoreAPI::TimeoutDurations::Day = 1440 , DiscordCoreAPI::TimeoutDurations::Week = 10080
}
 Timeout durations for the timeout command. More...
 
enum class  DiscordCoreAPI::TriggerType : uint8_t { DiscordCoreAPI::TriggerType::Keyword = 1 , DiscordCoreAPI::TriggerType::Spam = 3 , DiscordCoreAPI::TriggerType::Keyword_Preset = 4 , DiscordCoreAPI::TriggerType::Mention_Spam = 5 }
 Trigger types for auto-moderation. More...
 
enum class  DiscordCoreAPI::UpdatePresenceStatusTypes {
  DiscordCoreAPI::UpdatePresenceStatusTypes::online = 0 , DiscordCoreAPI::UpdatePresenceStatusTypes::dnd = 1 , DiscordCoreAPI::UpdatePresenceStatusTypes::idle = 2 , DiscordCoreAPI::UpdatePresenceStatusTypes::invisible = 3 ,
  DiscordCoreAPI::UpdatePresenceStatusTypes::offline = 4
}
 Update-presence status types. More...
 
enum class  DiscordCoreAPI::UserFlags : uint32_t {
  DiscordCoreAPI::UserFlags::Staff = 1 << 0 , DiscordCoreAPI::UserFlags::Partner = 1 << 1 , DiscordCoreAPI::UserFlags::Hypesquad = 1 << 2 , DiscordCoreAPI::UserFlags::Bug_Hunter_Level_1 = 1 << 3 ,
  DiscordCoreAPI::UserFlags::Hypesquad_Online_House_1 = 1 << 6 , DiscordCoreAPI::UserFlags::Hypesquad_Online_House_2 = 1 << 7 , DiscordCoreAPI::UserFlags::Hypesquad_Online_House_3 = 1 << 8 , DiscordCoreAPI::UserFlags::Premium_Early_Suppoerter = 1 << 9 ,
  DiscordCoreAPI::UserFlags::Team_Pseudo_User = 1 << 10 , DiscordCoreAPI::UserFlags::Bug_Hunter_Level_2 = 1 << 14 , DiscordCoreAPI::UserFlags::Verified_Bot = 1 << 16 , DiscordCoreAPI::UserFlags::Verified_Developer = 1 << 17 ,
  DiscordCoreAPI::UserFlags::Certified_Moderator = 1 << 18 , DiscordCoreAPI::UserFlags::Bot_Http_Interactions = 1 << 19 , DiscordCoreAPI::UserFlags::Bot = 1 << 20 , DiscordCoreAPI::UserFlags::MFAEnabled = 1 << 21 ,
  DiscordCoreAPI::UserFlags::System = 1 << 22 , DiscordCoreAPI::UserFlags::Verified = 1 << 23
}
 User flags. More...
 
enum class  DiscordCoreAPI::VerificationLevel : uint8_t {
  DiscordCoreAPI::VerificationLevel::None = 0 , DiscordCoreAPI::VerificationLevel::Low = 1 , DiscordCoreAPI::VerificationLevel::Medium = 2 , DiscordCoreAPI::VerificationLevel::High = 3 ,
  DiscordCoreAPI::VerificationLevel::Very_High = 4
}
 /// Verification levels. More...
 
enum class  DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode : uint16_t {
  DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Unset = 1 << 0 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Normal_Close = 1 << 1 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Unknown_Opcode = 1 << 2 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Failed_To_Decode = 1 << 3 ,
  DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Not_Authenticated = 1 << 4 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Authentication_Failed = 1 << 5 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Already_Authenticated = 1 << 6 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Session_No_Longer_Valid = 1 << 7 ,
  DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Session_Timeout = 1 << 8 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Server_Not_Found = 1 << 9 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Unknown_Protocol = 1 << 10 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Disconnected ,
  DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Voice_Server_Crashed = 1 << 12 , DiscordCoreInternal::VoiceWebSocketClose::VoiceWebSocketCloseCode::Unknown_Encryption_Mode = 1 << 13
}
 Voice Websocket close codes. More...
 
enum class  DiscordCoreAPI::WebHookType : uint8_t { DiscordCoreAPI::WebHookType::Incoming = 1 , DiscordCoreAPI::WebHookType::Channel_Follower = 2 , DiscordCoreAPI::WebHookType::Application = 3 }
 WebHook types. More...
 
enum class  DiscordCoreInternal::WebSocketClose::WebSocketCloseCode : uint16_t {
  DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Unset = 1 << 0 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Normal_Close = 1 << 1 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Unknown_Error = 1 << 2 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Unknown_Opcode = 1 << 3 ,
  DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Decode_Error = 1 << 4 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Not_Authenticated = 1 << 5 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Authentication_Failed = 1 << 6 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Already_Authenticated = 1 << 7 ,
  DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Invalid_Seq = 1 << 8 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Rate_Limited , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Session_Timed = 1 << 10 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Invalid_Shard = 1 << 11 ,
  DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Sharding_Required , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Invalid_API_Version = 1 << 13 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Invalid_Intent = 1 << 14 , DiscordCoreInternal::WebSocketClose::WebSocketCloseCode::Disallowed_Intent ,
  We_Do_Reconnect , We_Do_Not_Reconnect = Authentication_Failed | Invalid_Shard | Sharding_Required | Invalid_API_Version | Invalid_Intent | Disallowed_Intent
}
 Websocket close codes. More...
 
enum class  DiscordCoreAPI::WidgetStyleOptions : uint8_t {
  DiscordCoreAPI::WidgetStyleOptions::Shield = 0 , DiscordCoreAPI::WidgetStyleOptions::Banner1 = 1 , DiscordCoreAPI::WidgetStyleOptions::Banner2 = 2 , DiscordCoreAPI::WidgetStyleOptions::Banner3 = 3 ,
  DiscordCoreAPI::WidgetStyleOptions::Banner4 = 4
}
 Widget style options. More...
 

Functions

DiscordCoreAPI_Dll std::string DiscordCoreAPI::getTimeAndDate ()
 Acquires a timeStamp with the current time and date - suitable for use in message-embeds.
 
template<typename RTy >
auto DiscordCoreAPI::NewThreadAwaitable ()
 An awaitable that can be used to launch the CoRoutine onto a new thread - as well as return the handle for stoppping its execution.
 
DiscordCoreAPI_Dll void DiscordCoreAPI::reportException (const std::string &currentFunctionName, std::source_location location=std::source_location::current())
 Prints the current file, line, and column from which the function is being called - typically from within an exception's "catch" block.
 

Variables

std::string DiscordCoreAPI::StreamInfo::address {}
 The address to connect to.
 
uint16_t DiscordCoreAPI::StreamInfo::port {}
 The port to connect to.
 
bool DiscordCoreAPI::StreamInfo::streamBotAudio { false }
 Do we stream the audio coming from other bots?
 
StreamType DiscordCoreAPI::StreamInfo::type {}
 The type of streamer that this is. Set one to client and one to server.
 

Enumeration Type Documentation

◆ ActionType

enum class DiscordCoreAPI::ActionType : 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 1083 of file FoundationEntities.hpp.

◆ ActivityType

enum class DiscordCoreAPI::ActivityType : uint8_t
strong
Enumerator
Game 

Game.

Streaming 

Streaming.

Listening 

Listening.

Watching 

Watching.

Custom 

Custom.

Competing 

Competing.

Definition at line 841 of file FoundationEntities.hpp.

◆ AfkTimeOutDurations

enum class DiscordCoreAPI::AfkTimeOutDurations : uint16_t
strong
Enumerator
Shortest 

Shortest.

Short 

Short.

Medium 

Medium.

Long 

Long.

Longest 

Longest.

Definition at line 1771 of file FoundationEntities.hpp.

◆ ApplicationCommandOptionType

enum class DiscordCoreAPI::ApplicationCommandOptionType : uint8_t
strong
Enumerator
Sub_Command 

Sub-command.

Sub_Command_Group 

Sub-command group.

String 

std::string.

Integer 

Integer.

Boolean 

Boolean.

User 

User.

Channel 

Channel.

Role 

Role.

Mentionable 

Mentionable.

Number 

Number.

Attachment 

Attachment.

Definition at line 1041 of file FoundationEntities.hpp.

◆ ApplicationCommandPermissionType

Enumerator
Role 

Role.

User 

User.

Channel 

Channel.

Definition at line 1056 of file FoundationEntities.hpp.

◆ ApplicationCommandType

enum class DiscordCoreAPI::ApplicationCommandType : uint8_t
strong
Enumerator
Chat_Input 

Chat input.

User 

User.

Message 

Message.

Definition at line 2259 of file FoundationEntities.hpp.

◆ ApplicationFlags

enum class DiscordCoreAPI::ApplicationFlags : 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 1352 of file FoundationEntities.hpp.

◆ AuditLogEvent

enum class DiscordCoreAPI::AuditLogEvent : uint8_t
strong
Enumerator
Guild_Update 

Guild update.

Channel_Create 

Channel create.

Channel_Update 

Channel update.

Channel_Delete 

Channel delete.

Channel_Overwrite_Create 

Channel overwrite create.

Channel_Overwrite_Update 

Channel overwrite update.

Channel_Overwrite_Delete 

Channel overwrite delete.

Member_Kick 

Member kick.

Member_Prune 

Member prune.

Member_Ban_Add 

Member ban add.

Member_Ban_Remove 

Member ban remove.

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 create.

Role_Update 

Role update.

Role_Delete 

Role 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 create.

Sticker_Update 

Sticker update.

Sticker_Delete 

Sticker 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 create.

Thread_Update 

Thread update.

Thread_Delete 

Thread 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 AutoMod (according to a rule).

Definition at line 1516 of file FoundationEntities.hpp.

◆ ButtonStyle

enum class DiscordCoreAPI::ButtonStyle : uint8_t
strong
Enumerator
Primary 

Primary.

Success 

Success.

Secondary 

Secondary.

Danger 

Danger.

Link 

Link.

Definition at line 2370 of file FoundationEntities.hpp.

◆ ChannelType

enum class DiscordCoreAPI::ChannelType : 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 that can only contain threads.

Definition at line 681 of file FoundationEntities.hpp.

◆ ComponentType

enum class DiscordCoreAPI::ComponentType : 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 2288 of file FoundationEntities.hpp.

◆ ConnectionVisibilityTypes

enum class DiscordCoreAPI::ConnectionVisibilityTypes : uint8_t
strong
Enumerator
None 

None.

Everyone 

Everyone.

Definition at line 2716 of file FoundationEntities.hpp.

◆ DefaultMessageNotificationLevel

Enumerator
All_Messages 

All messages.

Only_Mentions 

Only mentions.

Definition at line 1642 of file FoundationEntities.hpp.

◆ EmbedType

enum class DiscordCoreAPI::EmbedType : uint8_t
strong
Enumerator
Rich 

Rich.

Image 

Image.

Video 

Video.

Gifv 

Gifv.

Article 

Article.

link 

Link.

Definition at line 566 of file FoundationEntities.hpp.

◆ EventType

enum class DiscordCoreAPI::EventType : uint8_t
strong
Enumerator
Message_Send 

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

Definition at line 1063 of file FoundationEntities.hpp.

◆ ExplicitContentFilterLevel

enum class DiscordCoreAPI::ExplicitContentFilterLevel : uint8_t
strong
Enumerator
Disabled 

Disabled.

Members_Without_Roles 

Members without roles.

All_Members 

All members.

Definition at line 1648 of file FoundationEntities.hpp.

◆ GatewayIntents

enum class DiscordCoreAPI::GatewayIntents : 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.

Default_Intents 

Default intents (all non-privileged intents).

Privileged_Intents 

Privileged intents requiring ID.

All_Intents 

Every single intent.

Definition at line 929 of file Utilities.hpp.

◆ GuildFlags

enum class DiscordCoreAPI::GuildFlags : uint8_t
strong
Enumerator
WidgetEnabled 

Widget enabled.

Unavailable 

Unavailable.

Owner 

Owner.

Large 

Large.

Premium_Progress_Bar_Enabled 

Premium progress bar enabled.

Definition at line 1796 of file FoundationEntities.hpp.

◆ GuildNSFWLevel

enum class DiscordCoreAPI::GuildNSFWLevel : uint8_t
strong
Enumerator
Default 

Default.

Explicit 

Explicit.

Safe 

Safe.

Age_Restricted 

Age restricted.

Definition at line 1780 of file FoundationEntities.hpp.

◆ GuildScheduledEventEntityType

enum class DiscordCoreAPI::GuildScheduledEventEntityType : uint8_t
strong
Enumerator
None 

None.

State_Instance 

Stage instance.

Voice 

Voice.

External 

External.

Definition at line 1893 of file FoundationEntities.hpp.

◆ GuildScheduledEventPrivacyLevel

Enumerator
Public 

Public.

Guild_Only 

Guild only.

Definition at line 1879 of file FoundationEntities.hpp.

◆ GuildScheduledEventStatus

enum class DiscordCoreAPI::GuildScheduledEventStatus : uint8_t
strong
Enumerator
Scheduled 

Scheduled.

Active 

Active.

Completed 

Completed.

Canceled 

Cancelled.

Definition at line 1885 of file FoundationEntities.hpp.

◆ HttpsResponseCodes

Enumerator
Ok 

The request completed successfully.

Created 

The entity was created successfully.

No_Content 

The request completed successfully but returned no content.

Not_Modifies 

The entity was not modified (no action was taken).

Bad_Request 

The request was improperly formatted, or the server couldn't understand it.

Unauthorized 

The Authorization header was missing or invalid.

Forbidden 

The Authorization token you passed did not have permission to the resource.

Not_Found 

The resource at the location specified doesn't exist.

Method_Not_Allowed 

The HTTP method used is not valid for the location specified.

Too_Many_Requests 

You are being rate limited, see Rate Limits.

Gatewat_Unavailable 

There was not a gateway available to process your request. Wait a bit and retry.

Definition at line 822 of file Utilities.hpp.

◆ InputEventResponseType

enum class DiscordCoreAPI::InputEventResponseType : 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.

Ephemeral_Follow_Up_Message 

Ephemeral follow-up Message.

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 914 of file Utilities.hpp.

◆ InteractionCallbackType

enum class DiscordCoreAPI::InteractionCallbackType : 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 2418 of file FoundationEntities.hpp.

◆ InteractionType

enum class DiscordCoreAPI::InteractionType : 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 2345 of file FoundationEntities.hpp.

◆ InviteTargetTypes

enum class DiscordCoreAPI::InviteTargetTypes : uint8_t
strong
Enumerator
Stream 

Stream.

Embedded_Application 

Embedded application.

Definition at line 2055 of file FoundationEntities.hpp.

◆ KeywordPresetType

enum class DiscordCoreAPI::KeywordPresetType : 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 1076 of file FoundationEntities.hpp.

◆ MessageActivityType

enum class DiscordCoreAPI::MessageActivityType : uint8_t
strong
Enumerator
Join 

Join.

Spectate 

Spectate.

Listen 

Listen.

Join_Request 

Join-request.

Definition at line 1267 of file FoundationEntities.hpp.

◆ MessageFlags

enum class DiscordCoreAPI::MessageFlags : 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.

Ephemeral 

Ephemeral.

Loading 

Loading.

Definition at line 2571 of file FoundationEntities.hpp.

◆ MessageType

enum class DiscordCoreAPI::MessageType : uint8_t
strong
Enumerator
Default 

Default.

Recipient_Add 

Recipient add.

Recipient_Remove 

Recipient remove.

Call 

Call.

Channel_Name_Change 

Channel name change.

Channel_Icon_Change 

Channel icon change.

Channel_Pinned_Message 

Channel pinned Message.

Guild_Member_Join 

Guild memeber join.

User_Premium_Guild_Subscription 

User premium Guild subscription.

User_Premium_Guild_Subscription_Tier_1 

User premium Guild subscription tier 1.

User_Premium_Guild_Subscription_Tier_2 

User premium Guild subscription tier 2.

User_Premium_Guild_Subscription_Tier_3 

User premium Guild subscription tier 3.

Channel_Follow_Add 

Channel 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 created.

Reply 

Reply.

Chat_Input_Command 

Chat input command.

Thread_Starter_Message 

Thread starter Message.

Guild_Invite_Reminder 

Guild invite reminder.

Context_Menu_Command 

Context menu command.

Definition at line 2544 of file FoundationEntities.hpp.

◆ MFALevel

enum class DiscordCoreAPI::MFALevel : uint8_t
strong
Enumerator
None 

None.

Elevated 

Elevated.

Definition at line 1655 of file FoundationEntities.hpp.

◆ Permission

enum class DiscordCoreAPI::Permission : uint64_t
strong
Enumerator
Create_Instant_Invite 

Create Instant Invite.

Kick_Members 

Kick Members.

Ban_Members 

Ban Members.

Administrator 

Administrator.

Manage_Channels 

Manage Channels.

Manage_Guild 

Manage Guild.

Add_Reactions 

Add Reactions.

View_Audit_Log 

View Audit Log.

Priority_Speaker 

Priority Speaker.

Stream 

Stream.

View_Channel 

View Channel.

Send_Messages 

Send Messages.

Send_Tts_Messages 

Send TTS Messages.

Manage_Messages 

Manage Messages.

Embed_Links 

Embed Links.

Attach_Files 

Attach Files.

Read_Message_History 

Read Message History.

Mention_Everyone 

Mention Everyone.

Use_External_Emojis 

Use External Emoji.

View_Guild_Insights 

View Guild Insights.

Connect 

Connect.

Speak 

Speak.

Mute_Members 

Mute Members.

Deafen_Members 

Deafen Members.

Move_Members 

Move Members.

Use_Vad 

Use VAD.

Change_Nickname 

Change Nickname.

Manage_Nicknames 

Manage Nicknames.

Manage_Roles 

Manage Roles.

Manage_Webhooks 

Manage Webhooks.

Manage_Emojis_And_Stickers 

Manage Emojis And Stickers.

Use_Application_Commands 

Use Application Commands.

Request_To_Speak 

Request To Speak.

Manage_Events 

Manage Events.

Manage_Threads 

Manage Threads.

Create_Public_Threads 

Create Public Threads.

Create_Private_Threads 

Create Private Threads.

Use_External_Stickers 

Use External Stickers.

Send_Messages_In_Threads 

Send Messages In Threads.

Start_Embedded_Activities 

Start Embedded Activities.

Moderate_Members 

Moderate Members.

Definition at line 1416 of file Utilities.hpp.

◆ PermissionOverwritesType

enum class DiscordCoreAPI::PermissionOverwritesType : uint8_t
strong
Enumerator
Role 

Role.

User 

User.

Definition at line 934 of file FoundationEntities.hpp.

◆ PremiumTier

enum class DiscordCoreAPI::PremiumTier : uint8_t
strong
Enumerator
None 

None.

Tier_1 

Tier 1.

Tier_2 

Tier 2.

Tier_3 

Tier 3.

Definition at line 1633 of file FoundationEntities.hpp.

◆ PremiumType

enum class DiscordCoreAPI::PremiumType : uint8_t
strong
Enumerator
None 

None.

Nitro_Classic 

Nitro classic.

Nitro 

Nitro.

Definition at line 403 of file FoundationEntities.hpp.

◆ SortOrderTypes

enum class DiscordCoreAPI::SortOrderTypes
strong
Enumerator
Latest_Activity 

Sort forum posts by activity.

Creation_Date 

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

Definition at line 675 of file FoundationEntities.hpp.

◆ StageInstancePrivacyLevel

enum class DiscordCoreAPI::StageInstancePrivacyLevel : uint8_t
strong
Enumerator
Public 

Public.

Guild_Only 

Guild only.

Definition at line 1696 of file FoundationEntities.hpp.

◆ StickerFormatType

enum class DiscordCoreAPI::StickerFormatType : uint8_t
strong
Enumerator
Png 

Png.

Apng 

Apng.

Lottie 

Lottie.

Definition at line 463 of file FoundationEntities.hpp.

◆ StickerItemType

enum class DiscordCoreAPI::StickerItemType : uint8_t
strong
Enumerator
Png 

Png.

Apng 

Apng.

Lottie 

Lottie.

Definition at line 2583 of file FoundationEntities.hpp.

◆ StickerType

enum class DiscordCoreAPI::StickerType : uint8_t
strong
Enumerator
Standard 

Standard.

Guild 

Guild.

Definition at line 1718 of file FoundationEntities.hpp.

◆ SystemChannelFlags

enum class DiscordCoreAPI::SystemChannelFlags : 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 1788 of file FoundationEntities.hpp.

◆ TextFormat

enum class DiscordCoreAPI::TextFormat : uint8_t
strong
Enumerator
Etf 

Etf format.

Json 

Json format.

Definition at line 963 of file Utilities.hpp.

◆ TextInputStyle

enum class DiscordCoreAPI::TextInputStyle : uint8_t
strong
Enumerator
Short 

A single-line input.

Paragraph 

A multi-line input.

Definition at line 2852 of file FoundationEntities.hpp.

◆ ThreadAutoArchiveDuration

enum class DiscordCoreAPI::ThreadAutoArchiveDuration : uint16_t
strong
Enumerator
Shortest 

Shortest.

Short 

Short.

Long 

Long.

Longest 

Longest.

Definition at line 780 of file FoundationEntities.hpp.

◆ ThreadType

enum class DiscordCoreAPI::ThreadType : uint8_t
strong
Enumerator
Guild_News_Thread 

Guild news Thread.

Guild_Public_Thread 

Guild public Thread.

Guild_Private_Thread 

Guild private Thread.

Definition at line 741 of file FoundationEntities.hpp.

◆ TimeoutDurations

enum class DiscordCoreAPI::TimeoutDurations : uint16_t
strong
Enumerator
None 

None - remove 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 345 of file FoundationEntities.hpp.

◆ TriggerType

enum class DiscordCoreAPI::TriggerType : 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 1068 of file FoundationEntities.hpp.

◆ UpdatePresenceStatusTypes

Enumerator
online 

Online.

dnd 

Do Not Disturb.

idle 

AFK.

invisible 

Invisible and shown as offline.

offline 

Offline.

Definition at line 893 of file Utilities.hpp.

◆ UserFlags

enum class DiscordCoreAPI::UserFlags : uint32_t
strong
Enumerator
Staff 

Discord Employee.

Partner 

Partnered Server Owner.

Hypesquad 

HypeSquad 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 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_Http_Interactions 

Bot uses only HTTP 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 381 of file FoundationEntities.hpp.

◆ VerificationLevel

enum class DiscordCoreAPI::VerificationLevel : uint8_t
strong
Enumerator
None 

None.

Low 

Low.

Medium 

Medium.

High 

High.

Very_High 

Very high.

Definition at line 1661 of file FoundationEntities.hpp.

◆ VoiceWebSocketCloseCode

Enumerator
Unset 

Unset.

Normal_Close 

Normal close.

Unknown_Opcode 

You sent an invalid opcode.

Failed_To_Decode 

You sent an invalid payload in your identifying to the Gateway.

Not_Authenticated 

You sent a payload before identifying with the Gateway.

Authentication_Failed 

The token you sent in your identify payload is incorrect.

Already_Authenticated 

You sent more than one identify payload. Stahp.

Session_No_Longer_Valid 

Your session is no longer valid.

Session_Timeout 

Your session has timed out.

Server_Not_Found 

We can't find the server you're trying to connect to.

Unknown_Protocol 

We didn't recognize the protocol you sent.

Disconnected 

Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect.

Voice_Server_Crashed 

The server crashed. Our bad! Try resuming.

Unknown_Encryption_Mode 

We didn't recognize your encryption.

Definition at line 764 of file Utilities.hpp.

◆ WebHookType

enum class DiscordCoreAPI::WebHookType : uint8_t
strong
Enumerator
Incoming 

Incoming.

Channel_Follower 

Channel follower.

Application 

Application.

Definition at line 2061 of file FoundationEntities.hpp.

◆ WebSocketCloseCode

Enumerator
Unset 

Unset.

Normal_Close 

Normal close.

Unknown_Error 

We're not sure what went wrong. Try reconnecting?

Unknown_Opcode 

You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!

Decode_Error 

You sent an invalid payload to us. Don't do that!

Not_Authenticated 

You sent us a payload prior to identifying.

Authentication_Failed 

The account token sent with your identify payload is incorrect.

Already_Authenticated 

You sent more than one identify payload. Don't do that!

Invalid_Seq 

The sequence sent when resuming the session was invalid. Reconnect and start a new session.

Rate_Limited 

Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this.

Session_Timed 

Your session timed out. Reconnect and start a new one.

Invalid_Shard 

You sent us an invalid shard when identifying.

Sharding_Required 

The session would have handled too many guilds - you are required to shard your connection in order to connect.

Invalid_API_Version 

You sent an invalid version for the gateway.

Invalid_Intent 

You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value.

Disallowed_Intent 

You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not enabled or are not approved for.

Definition at line 692 of file Utilities.hpp.

◆ WidgetStyleOptions

enum class DiscordCoreAPI::WidgetStyleOptions : uint8_t
strong
Enumerator
Shield 

Shield.

Banner1 

Banner1.

Banner2 

Banner2.

Banner3 

Banner3.

Banner4 

Banner4.

Definition at line 1457 of file FoundationEntities.hpp.

Function Documentation

◆ getTimeAndDate()

std::string DiscordCoreAPI::getTimeAndDate ( )
Returns
std::string A string containing the current date-time stamp.

Definition at line 1757 of file Utilities.cpp.

◆ NewThreadAwaitable()

template<typename RTy >
auto DiscordCoreAPI::NewThreadAwaitable ( )
Template Parameters
RTyThe type of value returned by the containing CoRoutine.

Definition at line 2002 of file Utilities.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reportException()

void DiscordCoreAPI::reportException ( const std::string &  currentFunctionName,
std::source_location  location = std::source_location::current() 
)
Parameters
currentFunctionNameA string to display the current function's name.
locationFor deriving the current file, line, and column - do not set this value.

Definition at line 1537 of file Utilities.cpp.