Skip to main content

Summary

MembersDescriptions
namespace SleepyDiscord
namespace SleepyDiscord::InteractionCallback
namespace SleepyDiscord::json
namespace std
class SleepyDiscord::Cache::const_iterator
class SleepyDiscord::RateLimiter::HandleAwaitAfterRequest
class SleepyDiscord::Cache::iterator
struct SleepyDiscord::AppCommand::Option::Choice
struct SleepyDiscord::ASIOWebSocketConnection::CloseRequest
struct SleepyDiscord::InteractionData::ResolvedData::Data
struct SleepyDiscord::ASIOWebSocketConnection::EventReceiver
struct SleepyDiscord::ASIOWebSocketConnection::Frame
struct SleepyDiscord::Snowflake::HasAFindFunction
struct SleepyDiscord::BaseDiscordClient::Heartbeat
struct SleepyDiscord::Message::Interaction
struct SleepyDiscord::Snowflake::HasAFindFunction::Magic
struct SleepyDiscord::AppCommand::Option
struct SleepyDiscord::InteractionData::Option
struct SleepyDiscord::SelectMenu::Option
struct SleepyDiscord::AppCommand::Permissions
struct SleepyDiscord::RateLimiter::RateLimit
struct SleepyDiscord::BaseDiscordClient::RawRequestModeTypeHelper
struct SleepyDiscord::BaseDiscordClient::Request
struct SleepyDiscord::BaseDiscordClient::RequestModeType
struct SleepyDiscord::BaseDiscordClient::RequestModeType< Async >
struct SleepyDiscord::BaseDiscordClient::RequestModeType< Sync >
struct SleepyDiscord::BaseDiscordClient::RequestSettings
struct SleepyDiscord::InteractionData::ResolvedData
struct SleepyDiscord::Interaction::Response
struct SleepyDiscord::Role::Tags
struct SleepyDiscord::AppCommand::Option::TypeHelper
struct SleepyDiscord::AppCommand::Option::TypeHelper< bool, void >
struct SleepyDiscord::AppCommand::Option::TypeHelper< Channel, void >
struct SleepyDiscord::AppCommand::Option::TypeHelper< const char *, void >
struct SleepyDiscord::AppCommand::Option::TypeHelper< Int, typename isInt< Int >::type >
struct SleepyDiscord::AppCommand::Option::TypeHelper< Num, typename isNum< Num >::type >
struct SleepyDiscord::AppCommand::Option::TypeHelper< Role, void >
struct SleepyDiscord::AppCommand::Option::TypeHelper< std::string, void >
struct SleepyDiscord::AppCommand::Option::TypeHelper< User, void >
struct SleepyDiscord::AppCommand::Option::TypeHelperImpl

namespace SleepyDiscord

Summary

MembersDescriptions
class SleepyDiscord::ASIOBasedScheduleHandler
class SleepyDiscord::ASIOScheduleHandler
class SleepyDiscord::ASIOUDPClient
class SleepyDiscord::ASIOWebSocketConnection
class SleepyDiscord::ASIOWebSocketDiscordClient
class SleepyDiscord::BaseDiscordClient
class SleepyDiscord::BaseVoiceEventHandler
class SleepyDiscord::BeastSession
class SleepyDiscord::CPRSession
class SleepyDiscord::CustomSession
class SleepyDiscord::CustomUDPClient
class SleepyDiscord::DiscordObject
class SleepyDiscord::GenericCompression
class SleepyDiscord::GenericMessageReceiver
class SleepyDiscord::GenericScheduleHandler
class SleepyDiscord::GenericSession
class SleepyDiscord::GenericUDPClient
class SleepyDiscord::IdentifiableDiscordObject
class SleepyDiscord::Route
class SleepyDiscord::ServerCache
class SleepyDiscord::VoiceConnection
class SleepyDiscord::ZLibCompression
struct SleepyDiscord::ActionRow
struct SleepyDiscord::Activity
struct SleepyDiscord::ActivityAssets
struct SleepyDiscord::ActivityParty
struct SleepyDiscord::ActivitySecrets
struct SleepyDiscord::ActivityTimestamp
struct SleepyDiscord::ActivityTimestampTypeHelper
struct SleepyDiscord::AllowedMentions
struct SleepyDiscord::AllowMentionsParseHelper
struct SleepyDiscord::AppCommand
struct SleepyDiscord::Application
struct SleepyDiscord::ArrayResponseWrapper
struct SleepyDiscord::Attachment
struct SleepyDiscord::AudioSource
struct SleepyDiscord::AudioTimer
struct SleepyDiscord::AudioTransmissionDetails
struct SleepyDiscord::AudioVectorSource
struct SleepyDiscord::AuditLog
struct SleepyDiscord::AuditLogKeyData
struct SleepyDiscord::BaseAudioOutput
struct SleepyDiscord::BaseAudioSource
struct SleepyDiscord::BaseComponent
struct SleepyDiscord::BaseEditWebhookParams
struct SleepyDiscord::BaseWebHookParams
struct SleepyDiscord::BasicAudioSourceForContainers
struct SleepyDiscord::BooleanResponse
struct SleepyDiscord::Button
struct SleepyDiscord::Cache
struct SleepyDiscord::caseInsensitiveCompare
struct SleepyDiscord::Channel
struct SleepyDiscord::ComponentTemp
struct SleepyDiscord::Connection
struct SleepyDiscord::EditMessageParams
struct SleepyDiscord::EditWebhookParams
struct SleepyDiscord::Embed
struct SleepyDiscord::EmbedAuthor
struct SleepyDiscord::EmbedField
struct SleepyDiscord::EmbedFooter
struct SleepyDiscord::EmbedImage
struct SleepyDiscord::EmbedProvider
struct SleepyDiscord::EmbedThumbnail
struct SleepyDiscord::EmbedVideo
struct SleepyDiscord::Emoji
struct SleepyDiscord::EmptyDiscordObject
struct SleepyDiscord::EndianTyped
struct SleepyDiscord::filePathPart
struct SleepyDiscord::FollowupMessage
struct SleepyDiscord::Game
struct SleepyDiscord::Gateway
struct SleepyDiscord::GenericWebsocketConnection
struct SleepyDiscord::GetDefault
struct SleepyDiscord::GetDefault< Activity::ActivityType >
struct SleepyDiscord::GetDefault< AllowedMentions::MentionReplierFlag >
struct SleepyDiscord::GetDefault< AppCommand::Option::Default >
struct SleepyDiscord::GetDefault< Channel::ChannelType >
struct SleepyDiscord::GetDefault< InteractionCallback::Message::Flags >
struct SleepyDiscord::GetDefault< Overwrite::Type >
struct SleepyDiscord::GetDefault< StageInstance::PrivacyLevel >
struct SleepyDiscord::GetDefault< UnavailableServer::AvailableFlag >
struct SleepyDiscord::GetEnumBaseType
struct SleepyDiscord::GetEnumBaseType< AllowedMentions::MentionReplierFlag >
struct SleepyDiscord::GetEnumBaseType< UnavailableServer::AvailableFlag >
struct SleepyDiscord::HeaderPair
struct SleepyDiscord::Interaction
struct SleepyDiscord::InteractionCallbackHelper
struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::Autocomplete >
struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::EditMessage >
struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::Modal >
struct SleepyDiscord::InteractionCallbackTypeHelper
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::AppCommandAutocomplete >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::ChannelMessageWithSource >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::DefChannelMessageWScore >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::DeferredUpdateMessage >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::Modal >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::Pong >
struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::UpdateMessage >
struct SleepyDiscord::InteractionData
struct SleepyDiscord::Invite
struct SleepyDiscord::InviteMetadata
struct SleepyDiscord::Message
struct SleepyDiscord::MessageParams
struct SleepyDiscord::MessageReference
struct SleepyDiscord::MessageRevisions
struct SleepyDiscord::ObjectResponse
struct SleepyDiscord::OutputQueue
struct SleepyDiscord::Overwrite
struct SleepyDiscord::Part
struct SleepyDiscord::PresenceUpdate
struct SleepyDiscord::RateLimiter
struct SleepyDiscord::RawComponent
struct SleepyDiscord::Reaction
struct SleepyDiscord::Ready
struct SleepyDiscord::Response
struct SleepyDiscord::Role
struct SleepyDiscord::SelectMenu
struct SleepyDiscord::SendMessageParams
struct SleepyDiscord::Server
struct SleepyDiscord::ServerAppCommandPermissions
struct SleepyDiscord::ServerMember
struct SleepyDiscord::ServerMembersChunk
struct SleepyDiscord::ServerMembersRequest
struct SleepyDiscord::ServerWidget
struct SleepyDiscord::SessionStartLimit
struct SleepyDiscord::Snowflake
struct SleepyDiscord::StageInstance
struct SleepyDiscord::StandardResponse
struct SleepyDiscord::Sticker
struct SleepyDiscord::StickerPack
struct SleepyDiscord::StringResponse
struct SleepyDiscord::TextInputs
struct SleepyDiscord::ThreadListSync
struct SleepyDiscord::ThreadMember
struct SleepyDiscord::ThreadMembersUpdate
struct SleepyDiscord::Timer
struct SleepyDiscord::UInt64StrTypeHelper
struct SleepyDiscord::UnavailableServer
struct SleepyDiscord::User
struct SleepyDiscord::VoiceContext
struct SleepyDiscord::VoiceRegion
struct SleepyDiscord::VoiceServerUpdate
struct SleepyDiscord::VoiceState
struct SleepyDiscord::Webhook
struct SleepyDiscord::WebHookParams
struct SleepyDiscord::WebSocketMessage

class SleepyDiscord::ASIOBasedScheduleHandler

class SleepyDiscord::ASIOBasedScheduleHandler
: public SleepyDiscord::GenericScheduleHandler

Summary

MembersDescriptions
public virtual ~ASIOBasedScheduleHandler() = default
public asio::io_context & getIOContext()

Members

public virtual ~ASIOBasedScheduleHandler() = default

public asio::io_context & getIOContext()

class SleepyDiscord::ASIOScheduleHandler

class SleepyDiscord::ASIOScheduleHandler
: public SleepyDiscord::ASIOBasedScheduleHandler

Summary

MembersDescriptions
public inline ASIOScheduleHandler(std::shared_ptr< asio::io_context > _io)
public virtual ~ASIOScheduleHandler() = default
public inline virtual asio::io_context & getIOContext()
public inline virtual Timer schedule(TimedTask code,const time_t milliseconds)
public inline void run()

Members

public inline ASIOScheduleHandler(std::shared_ptr< asio::io_context > _io)

public virtual ~ASIOScheduleHandler() = default

public inline virtual asio::io_context & getIOContext()

public inline virtual Timer schedule(TimedTask code,const time_t milliseconds)

public inline void run()

class SleepyDiscord::ASIOUDPClient

class SleepyDiscord::ASIOUDPClient
: public SleepyDiscord::GenericUDPClient

Summary

MembersDescriptions
public ASIOUDPClient(BaseDiscordClient & client)
public ASIOUDPClient(asio::io_context & context)
public virtual bool connect(const std::string & to,const uint16_t port)
public virtual void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)
public virtual void receive(ReceiveHandler handler)

Members

public ASIOUDPClient(BaseDiscordClient & client)

public ASIOUDPClient(asio::io_context & context)

public virtual bool connect(const std::string & to,const uint16_t port)

public virtual void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)

public virtual void receive(ReceiveHandler handler)

class SleepyDiscord::ASIOWebSocketConnection

class SleepyDiscord::ASIOWebSocketConnection
: public std::enable_shared_from_this< ASIOWebSocketConnection >

Summary

MembersDescriptions
public std::shared_ptr< asio::io_context > ioContext
public EventReceiver receiver
public inline ASIOWebSocketConnection(EventReceiver _receiver)
public inline std::pair< std::unique_ptr< char, MallocDeleter >, std::size_t > encodeBase64(const unsigned char * input,std::size_t length)
public inline std::pair< std::unique_ptr< unsigned char, MallocDeleter >, std::size_t > decodeBase64(const char * input,std::size_t length)
public template<>
inline std::shared_ptr< asio::steady_timer > makeTimer(std::chrono::duration< double > timeLeft,Task task)
public inline void logError(std::string context,const asio::error_code & ec)
public inline void connect(const std::string & uri,std::shared_ptr< asio::io_context > _ioContext)
public template<>
inline void send(const BufferSource payload,uint16_t opCode,std::function< void(const asio::error_code &)> callback)
public inline void close(uint16_t code,const std::string & reason,bool closeSocketAfterSend)
public inline bool disconnect(uint16_t code,const std::string & reason)
typedef SocketPtrType
typedef MallocDeleter

Members

public std::shared_ptr< asio::io_context > ioContext

public EventReceiver receiver

public inline ASIOWebSocketConnection(EventReceiver _receiver)

public inline std::pair< std::unique_ptr< char, MallocDeleter >, std::size_t > encodeBase64(const unsigned char * input,std::size_t length)

public inline std::pair< std::unique_ptr< unsigned char, MallocDeleter >, std::size_t > decodeBase64(const char * input,std::size_t length)

public template<>
inline std::shared_ptr< asio::steady_timer > makeTimer(std::chrono::duration< double > timeLeft,Task task)

public inline void logError(std::string context,const asio::error_code & ec)

public inline void connect(const std::string & uri,std::shared_ptr< asio::io_context > _ioContext)

public template<>
inline void send(const BufferSource payload,uint16_t opCode,std::function< void(const asio::error_code &)> callback)

public inline void close(uint16_t code,const std::string & reason,bool closeSocketAfterSend)

public inline bool disconnect(uint16_t code,const std::string & reason)

typedef SocketPtrType

typedef MallocDeleter

class SleepyDiscord::ASIOWebSocketDiscordClient

class SleepyDiscord::ASIOWebSocketDiscordClient
: public SleepyDiscord::BaseDiscordClient

Summary

MembersDescriptions
public std::shared_ptr< asio::io_context > ioContext
public ASIOWebSocketDiscordClient() = default
public inline ASIOWebSocketDiscordClient(const std::string token,const char _n)
public inline ASIOWebSocketDiscordClient(std::shared_ptr< asio::io_context > _ioContext,const std::string token)
public inline ~ASIOWebSocketDiscordClient()
public inline void setup(std::shared_ptr< asio::io_context > _ioContext,const std::string token)
public inline virtual void run()
public inline virtual Timer schedule(TimedTask code,const time_t milliseconds)
public inline virtual void postTask(PostableTask code)

Members

public std::shared_ptr< asio::io_context > ioContext

public ASIOWebSocketDiscordClient() = default

public inline ASIOWebSocketDiscordClient(const std::string token,const char _n)

public inline ASIOWebSocketDiscordClient(std::shared_ptr< asio::io_context > _ioContext,const std::string token)

public inline ~ASIOWebSocketDiscordClient()

public inline void setup(std::shared_ptr< asio::io_context > _ioContext,const std::string token)

public inline virtual void run()

public inline virtual Timer schedule(TimedTask code,const time_t milliseconds)

public inline virtual void postTask(PostableTask code)

class SleepyDiscord::BaseDiscordClient

class SleepyDiscord::BaseDiscordClient
: public SleepyDiscord::GenericMessageReceiver

Summary

MembersDescriptions
public BaseDiscordClient() = default
public inline BaseDiscordClient(const std::string _token)
public ~BaseDiscordClient()
public Response request(const RequestMethod method,Routepath,const std::string jsonParameters,const std::vector<Part > & multipartParameters,RequestCallback callback,const RequestMode mode)
public template<>
inline void requestAsync(const RequestMethod method,Routepath,std::function< void(ParmType)> callback,const std::string jsonParameters,const std::vector<Part > & multipartParameters,const RequestMode mode)
public template<>
inline Response requestSync(const RequestMethod method,Routepath,std::function< void(ParmType)> callback,const std::string jsonParameters,const std::vector<Part > & multipartParameters,const RequestMode mode)
public const Route path(const char * source,std::initializer_list< std::string > values)
public template<>
inline Response request(const RequestMethod method,Routepath,RequestSettingsClass & settings,const std::string jsonParameters,const std::initializer_list<Part > & multipartParameters)
public template<>
inline RequestModeType< mode >::ReturnType request(const RequestMethod method,Routepath,Callback callback,const std::string jsonParameters,const std::initializer_list<Part > & multipartParameters)
public void testFunction(std::string teststring)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Gateway>getGateway(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Gateway > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>getChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,std::string topic,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannelName(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannelTopic(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>deleteChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message>getMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,GetMessagesKey when,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,uint8_t limit,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>getMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public inline const Embed createInvalidEmbed()
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::string message,std::vector<Embed > embeds,MessageReference replyingTo,TTS tts,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message,Embed embeds,MessageReference replyingTo,TTS tts,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(SendMessageParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>uploadFile(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::string fileLocation,std::string message,std::vector<Embed > embeds,MessageReference replyingTo,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>uploadFile(SendMessageParams params,std::string fileLocation,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public BoolResponse addReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse removeReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User>getReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Reaction > > settings)
public StandardResponse removeAllReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message> messageID,std::string newMessage,std::vector<Embed > embeds,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(EditMessageParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public BoolResponse deleteMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse bulkDeleteMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > > messageIDs,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse editChannelPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Overwrite > overwriteID,int allow,int deny,std::string type)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite>getChannelInvites(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>createChannelInvite(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,const uint64_t maxAge,const uint64_t maxUses,const bool temporary,const bool unique)
public BoolResponse removeChannelPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string ID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse sendTyping(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message>getPinnedMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message > > settings)
public BoolResponse pinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse unpinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public StandardResponse addRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)
public StandardResponse removeRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>startThreadMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string name,int autoArchiveDuration,int rateLimitPerUser,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public BoolResponse joinThread(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse addThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse leaveThread(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse removeThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ThreadMember>getThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,bool withMember,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ThreadMember > > settings)
public inline BoolResponse deleteReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji)
public inline StandardResponse deleteAllReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID)
public inline BoolResponse deleteChannelPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string ID)
public inline StandardResponse deleteRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > _userID)
public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(Messagemessage,std::string newMessage,std::vector<Embed > embeds)
public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)
public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server>getServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server>deleteServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>getServerChannels(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createTextChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,Channel::ChannelType Type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>editChannelPositions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::vector< std::pair< std::string, uint64_t > > positions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember>getMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerMember>listMembers(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,uint16_t limit,std::string after,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerMember > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember>addMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> userID,std::string accesToken,std::string nick,std::vector<Role > roles,bool mute,bool deaf)
public BoolResponse editMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> userID,std::string nickname,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > > roles,int8_t mute,int8_t deaf,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID)
public BoolResponse muteServerMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,bool mute,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse editNickname(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string newNickname,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse addRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse removeRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse kickMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User>getBans(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User > > settings)
public BoolResponse banMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,int deleteMessageDays,std::string reason,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse unbanMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role>getRoles(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Role>createRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,Permission permissions,unsigned int color,bool hoist,bool mentionable)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role>editRolePosition(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::vector< std::pair< std::string, uint64_t > > positions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role > > settings)
public StringResponse editRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,std::string name,Permission permissions,uint32_t color,int8_t hoist,int8_t mentionable)
public BoolResponse deleteRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public StandardResponse pruneMembers(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,const unsigned int numOfDays,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [VoiceRegion>getVoiceRegions(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [VoiceRegion > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite>getServerInvites(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite > > settings)
public StringResponse getIntegrations(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StringResponse > settings)
public BoolResponse createIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string type,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse editIntergration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,int expireBegavior,int expireGracePeriod,bool enbleEmoticons)
public BoolResponse deleteIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse syncIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerWidget>getServerWidget(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerWidget > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>inviteEndpoint(RequestMethod method,std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>getInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>deleteInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>acceptInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>getCurrentUser(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>getUser(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Server>getServers(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Server > > settings)
public BoolResponse leaveServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>getDirectMessageChannels(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createDirectMessageChannel(std::string recipientID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Connection>getUserConnections(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Connection > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>createWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,std::string avatar,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook>getChannelWebhooks(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook>getServerWebhooks(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>getWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>editWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::string name,std::string avatar)
public BoolResponse deleteWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>requestExecuteWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::pair< std::string, std::string > pair,bool wait,std::string username,std::string avatar_url,bool tts)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::string content,bool wait,std::string username,std::string avatar_url,bool tts)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook> webhookID,std::string webhookToken,std::vector<Embed > embeds,bool wait,std::string username,std::string avatar_url,bool tts)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,filePathPart file,bool wait,std::string username,std::string avatar_url,bool tts)
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getGlobalAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public BoolResponse deleteGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getServerAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public BoolResponse deleteServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public template<>
inline BoolResponse createInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Interaction > interactionID,std::string token,Type response,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editOriginalInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,EditWebhookParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse deleteOriginalInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>createFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,FollowupMessage params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,EditWebhookParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse deleteFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse batchEditAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<ServerAppCommandPermissions > permissions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)Batch edits permissions for all commands in a guild. Takes an array of partial objects including id and permissions. https://discord.com/developers/docs/interactions/slash-commands#batch-edit-application-command-permissions.
public BoolResponse editServerAppCommandPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand> commandID,std::vector<AppCommand::Permissions > permissions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)Edits command permissions for a specific command for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#edit-application-command-permissions.
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerAppCommandPermissions>getServerAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerAppCommandPermissions > > settings)Fetches command permissions for all commands for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#get-guild-application-command-permissions.
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerAppCommandPermissions>getAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerAppCommandPermissions > > settings)Fetches command permissions for a specific command for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#get-application-command-permissions.
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)
public BoolResponse deleteAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse bulkOverwriteServerAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<AppCommand > commands,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse bulkOverwriteGlobalAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>::RawType applicationID,std::vector<AppCommand > commands,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>createStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,StageInstance::PrivacyLevel privacyLevel,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)
public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [StageInstance>getStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [StageInstance > > settings)
public BoolResponse editStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,StageInstance::PrivacyLevel privacyLevel,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public BoolResponse deleteStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)
public void updateStatus(std::string gameName,uint64_t idleSince,Status status,bool afk)
public void requestServerMembers(ServerMembersRequest request)
public void getServerBanner(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string serverBanner,std::string format,std::function< void(StandardResponse &)> callback)
public inline void getServerBanner(Server & server,std::string format)
public void waitTilReady()
public inline const bool isReady()
public inline const bool isQuiting()
public inline const bool isBot()
public inline const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>getID()
public void setShardID(int _shardID,int _shardCount)
public inline const int getShardID()
public inline const int getShardCount()
public inline const bool hasIntents()
public inline const IntentsRaw getIntents()
public inline void setIntents(IntentsRaw newIntents)
public inline void quit()
public virtual void run()
public template<>
inline void setIntents(const Container & listOfIntents)
public template<>
inline void setIntents(Intent first,Intent second,Types... others)
public template<>
inline void useCompression(Types &&... arguments)
public inline void useCompression(bool value)
public template<>
inline void setScheduleHandler(Types &&... arguments)
public inline GenericScheduleHandler&getScheduleHandler()
public virtual Timer schedule(TimedTask code,const time_t millisecondsTilDueTime)
public inline Timer schedule(TimedTask code,const time_t milliseconds,AssignmentType mode)
public inline Timer schedule(void(BaseDiscordClient::*)() code,const time_t milliseconds,AssignmentType mode)
public inline void unschedule(Timer & timer)
public inline virtual void postTask(PostableTask code)
public std::shared_ptr< ServerCache>createServerCache()
public void setServerCache(std::shared_ptr< ServerCache > cache)
public inline std::shared_ptr< ServerCache> &getServerCache()
protected virtual void onDepletedRequestSupply(const Route::Bucket & bucket,double timeTilReset)
protected virtual void onExceededRateLimit(bool global,double timeTilRetry,Request request,bool & continueRequest)
protected virtual void onReady(Ready readyData)
protected virtual void onResumed()
protected virtual void onDeleteServer(UnavailableServer server)
protected virtual void onEditServer(Server server)
protected virtual void onBan(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)
protected virtual void onUnban(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)
protected virtual void onMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,ServerMember member)
protected virtual void onRemoveMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)
protected virtual void onEditMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Useruser,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > > roles,std::string nick)
protected virtual void onRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Role role)
protected virtual void onDeleteRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)
protected virtual void onEditRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Role role)
protected virtual void onEditEmojis(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<Emoji > emojis)
protected virtual void onMemberChunk(ServerMembersChunk memberChunk)
protected virtual void onDeleteChannel(Channel channel)
protected virtual void onEditChannel(Channel channel)
protected virtual void onPinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string lastPinTimestamp)
protected inline virtual void onThread(Channel channel)
protected inline virtual void onThreadUpdate(Channel channel)
protected inline virtual void onDeleteThread(Channel channel)
protected inline virtual void onThreadListSync(ThreadListSync sync)
protected inline virtual void onEditThreadMember(ThreadMember member,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID)
protected inline virtual void onEditThreadMembers(ThreadMembersUpdate update)
protected virtual void onPresenceUpdate(PresenceUpdate presenseUpdate)
protected virtual void onEditUser(User user)
protected virtual void onEditUserSettings(const json::Value & jsonMessage)
protected virtual void onEditVoiceState(VoiceState & state)
protected virtual void onTyping(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,time_t timestamp)
protected virtual void onDeleteMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > > messages)
protected virtual void onEditMessage(MessageRevisions revisioins)
protected virtual void onEditVoiceServer(VoiceServerUpdate & update)
protected virtual void onReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,Emoji emoji)
protected virtual void onDeleteReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,Emoji emoji)
protected virtual void onDeleteAllReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID)
protected virtual void onMessage(Message message)
protected virtual void onServer(Server server)
protected virtual void onChannel(Channel channel)
protected inline virtual void onInteraction(Interaction interaction)
protected inline virtual void onAppCommand(AppCommand appCommand)
protected inline virtual void onEditAppCommand(AppCommand appCommand)
protected inline virtual void onDeleteAppCommand(AppCommand appCommand)
protected inline virtual void onStageInstance(StageInstance instance)
protected inline virtual void onDeleteStageInstance(StageInstance instance)
protected inline virtual void onEditStageInstance(StageInstance instance)
protected virtual void onUnknownEvent(std::string name,const json::Value & data)
protected inline virtual void onDispatch(const json::Value & t,json::Value & d)
protected virtual void onHeartbeat()
protected virtual void onHeartbeatAck()
protected virtual void onInvaldSession()
protected virtual void onDisconnect()
protected virtual void onResume()
protected virtual void onQuit()
protected inline virtual void onRestart()
protected virtual void onResponse(Response response)
protected virtual void sleep(const unsigned int milliseconds)
protected virtual void fileRead(const char * path,std::string *const file)
protected virtual void tick(float deltaTime)
protected virtual void onError(ErrorCode errorCode,const std::string errorMessage)
protected virtual void processMessage(const std::string & message)
protected virtual void processMessage(const WebSocketMessage message)
protected virtual void processCloseCode(const int16_t code)
protected void heartbeat()
protected inline void sendHeartbeat()
protected void resetHeartbeatValues()
protected inline std::string getToken()
protected inline void setToken(const std::string & value)
protected void start(const std::string _token,const char _n,int _shardID,int _shardCount)
protected inline void connect()
protected inline virtual bool connect(const std::string &,GenericMessageReceiver &,WebsocketConnection &)
protected inline virtual void handleFailToConnect()
protected inline virtual void send(std::string,WebsocketConnection &)
protected inline virtual void disconnect(unsigned int,const std::string,WebsocketConnection &)
protected void reconnect(const unsigned int status)
protected inline virtual void stopClient()
protected inline void initialize(GenericMessageReceiver *& messageProcessor) const
protected inline void processMessage(GenericMessageReceiver *& messageProcessor,const std::string & message) const
protected inline void processCloseCode(GenericMessageReceiver *& messageProcessor,const int16_t & code) const
protected virtual void runAsync()
protected virtual const time_t getEpochTimeMillisecond()
protected virtual const double getEpochTimeSecond()
enum GetMessagesKey
enum AssignmentType
typedef RequestCallback
typedef PostableTask

Members

public BaseDiscordClient() = default

public inline BaseDiscordClient(const std::string _token)

public ~BaseDiscordClient()

public Response request(const RequestMethod method,Routepath,const std::string jsonParameters,const std::vector<Part > & multipartParameters,RequestCallback callback,const RequestMode mode)

public template<>
inline void requestAsync(const RequestMethod method,Routepath,std::function< void(ParmType)> callback,const std::string jsonParameters,const std::vector<Part > & multipartParameters,const RequestMode mode)

public template<>
inline Response requestSync(const RequestMethod method,Routepath,std::function< void(ParmType)> callback,const std::string jsonParameters,const std::vector<Part > & multipartParameters,const RequestMode mode)

public const Route path(const char * source,std::initializer_list< std::string > values)

public template<>
inline Response request(const RequestMethod method,Routepath,RequestSettingsClass & settings,const std::string jsonParameters,const std::initializer_list<Part > & multipartParameters)

public template<>
inline RequestModeType< mode >::ReturnType request(const RequestMethod method,Routepath,Callback callback,const std::string jsonParameters,const std::initializer_list<Part > & multipartParameters)

public void testFunction(std::string teststring)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Gateway>getGateway(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Gateway > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>getChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,std::string topic,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannelName(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>editChannelTopic(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>deleteChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message>getMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,GetMessagesKey when,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,uint8_t limit,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>getMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public inline const Embed createInvalidEmbed()

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::string message,std::vector<Embed > embeds,MessageReference replyingTo,TTS tts,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message,Embed embeds,MessageReference replyingTo,TTS tts,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(SendMessageParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>uploadFile(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::string fileLocation,std::string message,std::vector<Embed > embeds,MessageReference replyingTo,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>uploadFile(SendMessageParams params,std::string fileLocation,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public BoolResponse addReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse removeReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User>getReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Reaction > > settings)

public StandardResponse removeAllReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message> messageID,std::string newMessage,std::vector<Embed > embeds,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(EditMessageParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public BoolResponse deleteMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse bulkDeleteMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > > messageIDs,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse editChannelPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Overwrite > overwriteID,int allow,int deny,std::string type)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite>getChannelInvites(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>createChannelInvite(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,const uint64_t maxAge,const uint64_t maxUses,const bool temporary,const bool unique)

public BoolResponse removeChannelPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string ID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse sendTyping(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message>getPinnedMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Message > > settings)

public BoolResponse pinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse unpinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public StandardResponse addRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)

public StandardResponse removeRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>startThreadMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string name,int autoArchiveDuration,int rateLimitPerUser,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public BoolResponse joinThread(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse addThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse leaveThread(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse removeThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ThreadMember>getThreadMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,bool withMember,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ThreadMember > > settings)

public inline BoolResponse deleteReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,std::string emoji)

public inline StandardResponse deleteAllReactions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID)

public inline BoolResponse deleteChannelPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string ID)

public inline StandardResponse deleteRecipient(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > _userID)

public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editMessage(Messagemessage,std::string newMessage,std::vector<Embed > embeds)

public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message > > settings)

public inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>sendMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string message)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server>getServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server>deleteServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Server > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>getServerChannels(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createTextChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createChannel(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,Channel::ChannelType Type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>editChannelPositions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::vector< std::pair< std::string, uint64_t > > positions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember>getMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerMember>listMembers(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,uint16_t limit,std::string after,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerMember > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerMember>addMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> userID,std::string accesToken,std::string nick,std::vector<Role > roles,bool mute,bool deaf)

public BoolResponse editMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> userID,std::string nickname,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > > roles,int8_t mute,int8_t deaf,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID)

public BoolResponse muteServerMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,bool mute,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse editNickname(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string newNickname,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse addRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse removeRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse kickMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User>getBans(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [User > > settings)

public BoolResponse banMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,int deleteMessageDays,std::string reason,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse unbanMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role>getRoles(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Role>createRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,Permission permissions,unsigned int color,bool hoist,bool mentionable)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role>editRolePosition(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::vector< std::pair< std::string, uint64_t > > positions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Role > > settings)

public StringResponse editRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,std::string name,Permission permissions,uint32_t color,int8_t hoist,int8_t mentionable)

public BoolResponse deleteRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public StandardResponse pruneMembers(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,const unsigned int numOfDays,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StandardResponse > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [VoiceRegion>getVoiceRegions(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [VoiceRegion > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite>getServerInvites(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Invite > > settings)

public StringResponse getIntegrations(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [StringResponse > settings)

public BoolResponse createIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string type,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse editIntergration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,int expireBegavior,int expireGracePeriod,bool enbleEmoticons)

public BoolResponse deleteIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse syncIntegration(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string integrationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerWidget>getServerWidget(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerWidget > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>inviteEndpoint(RequestMethod method,std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>getInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>deleteInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite>acceptInvite(std::string inviteCode,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Invite > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>getCurrentUser(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>getUser(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Server>getServers(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Server > > settings)

public BoolResponse leaveServer(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel>getDirectMessageChannels(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Channel > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel>createDirectMessageChannel(std::string recipientID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Channel > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Connection>getUserConnections(RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Connection > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>createWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string name,std::string avatar,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook>getChannelWebhooks(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook>getServerWebhooks(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [Webhook > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>getWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>editWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::string name,std::string avatar)

public BoolResponse deleteWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>requestExecuteWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::pair< std::string, std::string > pair,bool wait,std::string username,std::string avatar_url,bool tts)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,std::string content,bool wait,std::string username,std::string avatar_url,bool tts)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook> webhookID,std::string webhookToken,std::vector<Embed > embeds,bool wait,std::string username,std::string avatar_url,bool tts)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Webhook>executeWebhook(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook > webhookID,std::string webhookToken,filePathPart file,bool wait,std::string username,std::string avatar_url,bool tts)

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getGlobalAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public BoolResponse deleteGlobalAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getServerAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public BoolResponse deleteServerAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public template<>
inline BoolResponse createInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Interaction > interactionID,std::string token,Type response,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editOriginalInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,EditWebhookParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse deleteOriginalInteractionResponse(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>createFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,FollowupMessage params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [Message>editFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,EditWebhookParams params,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse deleteFollowupMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,std::string interactionToken,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse batchEditAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<ServerAppCommandPermissions > permissions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

Batch edits permissions for all commands in a guild. Takes an array of partial objects including id and permissions. https://discord.com/developers/docs/interactions/slash-commands#batch-edit-application-command-permissions.

public BoolResponse editServerAppCommandPermission(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand> commandID,std::vector<AppCommand::Permissions > permissions,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

Edits command permissions for a specific command for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#edit-application-command-permissions.

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerAppCommandPermissions>getServerAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [ServerAppCommandPermissions > > settings)

Fetches command permissions for all commands for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#get-guild-application-command-permissions.

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerAppCommandPermissions>getAppCommandPermissions(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [ServerAppCommandPermissions > > settings)

Fetches command permissions for a specific command for your application in a guild. https://discord.com/developers/docs/interactions/slash-commands#get-application-command-permissions.

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>createAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string name,std::string description,Options options,bool defaultPermission,AppCommand::Type type,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public template<>
inline ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>editAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,std::string name,std::string description,Options options,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand>getAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ArrayResponse](#struct_sleepy_discord_1_1json_1_1_array_wrapper)< [AppCommand > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand>getAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [AppCommand > > settings)

public BoolResponse deleteAppCommand(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand > commandID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse bulkOverwriteServerAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject >::RawType applicationID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<AppCommand > commands,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse bulkOverwriteGlobalAppCommands(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>::RawType applicationID,std::vector<AppCommand > commands,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User>createStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,StageInstance::PrivacyLevel privacyLevel,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [User > > settings)

public ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [StageInstance>getStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [ObjectResponse](#struct_sleepy_discord_1_1_object_response)< [StageInstance > > settings)

public BoolResponse editStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string topic,StageInstance::PrivacyLevel privacyLevel,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public BoolResponse deleteStageInstance(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,RequestSettings](#struct_sleepy_discord_1_1_base_discord_client_1_1_request_settings)< [BoolResponse > settings)

public void updateStatus(std::string gameName,uint64_t idleSince,Status status,bool afk)

public void requestServerMembers(ServerMembersRequest request)

public void getServerBanner(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,std::string serverBanner,std::string format,std::function< void(StandardResponse &)> callback)

public inline void getServerBanner(Server & server,std::string format)

public void waitTilReady()

public inline const bool isReady()

public inline const bool isQuiting()

public inline const bool isBot()

public inline const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>getID()

public void setShardID(int _shardID,int _shardCount)

public inline const int getShardID()

public inline const int getShardCount()

public inline const bool hasIntents()

public inline const IntentsRaw getIntents()

public inline void setIntents(IntentsRaw newIntents)

public inline void quit()

public virtual void run()

public template<>
inline void setIntents(const Container & listOfIntents)

public template<>
inline void setIntents(Intent first,Intent second,Types... others)

public template<>
inline void useCompression(Types &&... arguments)

public inline void useCompression(bool value)

public template<>
inline void setScheduleHandler(Types &&... arguments)

public inline GenericScheduleHandler&getScheduleHandler()

public virtual Timer schedule(TimedTask code,const time_t millisecondsTilDueTime)

public inline Timer schedule(TimedTask code,const time_t milliseconds,AssignmentType mode)

public inline Timer schedule(void(BaseDiscordClient::*)() code,const time_t milliseconds,AssignmentType mode)

public inline void unschedule(Timer & timer)

public inline virtual void postTask(PostableTask code)

public std::shared_ptr< ServerCache>createServerCache()

public void setServerCache(std::shared_ptr< ServerCache > cache)

public inline std::shared_ptr< ServerCache> &getServerCache()

protected virtual void onDepletedRequestSupply(const Route::Bucket & bucket,double timeTilReset)

protected virtual void onExceededRateLimit(bool global,double timeTilRetry,Request request,bool & continueRequest)

protected virtual void onReady(Ready readyData)

protected virtual void onResumed()

protected virtual void onDeleteServer(UnavailableServer server)

protected virtual void onEditServer(Server server)

protected virtual void onBan(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)

protected virtual void onUnban(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)

protected virtual void onMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,ServerMember member)

protected virtual void onRemoveMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,User user)

protected virtual void onEditMember(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Useruser,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > > roles,std::string nick)

protected virtual void onRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Role role)

protected virtual void onDeleteRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)

protected virtual void onEditRole(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Role role)

protected virtual void onEditEmojis(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server> serverID,std::vector<Emoji > emojis)

protected virtual void onMemberChunk(ServerMembersChunk memberChunk)

protected virtual void onDeleteChannel(Channel channel)

protected virtual void onEditChannel(Channel channel)

protected virtual void onPinMessage(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,std::string lastPinTimestamp)

protected inline virtual void onThread(Channel channel)

protected inline virtual void onThreadUpdate(Channel channel)

protected inline virtual void onDeleteThread(Channel channel)

protected inline virtual void onThreadListSync(ThreadListSync sync)

protected inline virtual void onEditThreadMember(ThreadMember member,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID)

protected inline virtual void onEditThreadMembers(ThreadMembersUpdate update)

protected virtual void onPresenceUpdate(PresenceUpdate presenseUpdate)

protected virtual void onEditUser(User user)

protected virtual void onEditUserSettings(const json::Value & jsonMessage)

protected virtual void onEditVoiceState(VoiceState & state)

protected virtual void onTyping(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,time_t timestamp)

protected virtual void onDeleteMessages(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> channelID,std::vector<Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > > messages)

protected virtual void onEditMessage(MessageRevisions revisioins)

protected virtual void onEditVoiceServer(VoiceServerUpdate & update)

protected virtual void onReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,Emoji emoji)

protected virtual void onDeleteReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID,Emoji emoji)

protected virtual void onDeleteAllReaction(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID,Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message > messageID)

protected virtual void onMessage(Message message)

protected virtual void onServer(Server server)

protected virtual void onChannel(Channel channel)

protected inline virtual void onInteraction(Interaction interaction)

protected inline virtual void onAppCommand(AppCommand appCommand)

protected inline virtual void onEditAppCommand(AppCommand appCommand)

protected inline virtual void onDeleteAppCommand(AppCommand appCommand)

protected inline virtual void onStageInstance(StageInstance instance)

protected inline virtual void onDeleteStageInstance(StageInstance instance)

protected inline virtual void onEditStageInstance(StageInstance instance)

protected virtual void onUnknownEvent(std::string name,const json::Value & data)

protected inline virtual void onDispatch(const json::Value & t,json::Value & d)

protected virtual void onHeartbeat()

protected virtual void onHeartbeatAck()

protected virtual void onInvaldSession()

protected virtual void onDisconnect()

protected virtual void onResume()

protected virtual void onQuit()

protected inline virtual void onRestart()

protected virtual void onResponse(Response response)

protected virtual void sleep(const unsigned int milliseconds)

protected virtual void fileRead(const char * path,std::string *const file)

protected virtual void tick(float deltaTime)

protected virtual void onError(ErrorCode errorCode,const std::string errorMessage)

protected virtual void processMessage(const std::string & message)

protected virtual void processMessage(const WebSocketMessage message)

protected virtual void processCloseCode(const int16_t code)

protected void heartbeat()

protected inline void sendHeartbeat()

protected void resetHeartbeatValues()

protected inline std::string getToken()

protected inline void setToken(const std::string & value)

protected void start(const std::string _token,const char _n,int _shardID,int _shardCount)

protected inline void connect()

protected inline virtual bool connect(const std::string &,GenericMessageReceiver &,WebsocketConnection &)

protected inline virtual void handleFailToConnect()

protected inline virtual void send(std::string,WebsocketConnection &)

protected inline virtual void disconnect(unsigned int,const std::string,WebsocketConnection &)

protected void reconnect(const unsigned int status)

protected inline virtual void stopClient()

protected inline void initialize(GenericMessageReceiver *& messageProcessor) const

protected inline void processMessage(GenericMessageReceiver *& messageProcessor,const std::string & message) const

protected inline void processCloseCode(GenericMessageReceiver *& messageProcessor,const int16_t & code) const

protected virtual void runAsync()

protected virtual const time_t getEpochTimeMillisecond()

protected virtual const double getEpochTimeSecond()

enum GetMessagesKey

ValuesDescriptions
na
around
before
after
limit

enum AssignmentType

ValuesDescriptions
TilDueTime
EpochTime

typedef RequestCallback

typedef PostableTask

class SleepyDiscord::BaseVoiceEventHandler

Summary

MembersDescriptions
public virtual ~BaseVoiceEventHandler() = default
public inline virtual void onReady(VoiceConnection &)
public inline virtual void onSpeaking(VoiceConnection &)
public inline virtual void onEndSpeaking(VoiceConnection &)
public inline virtual void onFinishedSpeaking(VoiceConnection &)
public inline virtual void onHeartbeat(VoiceConnection &)
public inline virtual void onHeartbeatAck(VoiceConnection &)

Members

public virtual ~BaseVoiceEventHandler() = default

public inline virtual void onReady(VoiceConnection &)

public inline virtual void onSpeaking(VoiceConnection &)

public inline virtual void onEndSpeaking(VoiceConnection &)

public inline virtual void onFinishedSpeaking(VoiceConnection &)

public inline virtual void onHeartbeat(VoiceConnection &)

public inline virtual void onHeartbeatAck(VoiceConnection &)

class SleepyDiscord::BeastSession

class SleepyDiscord::BeastSession
: public SleepyDiscord::GenericSession

Summary

MembersDescriptions
public inline virtual void setUrl(const std::string & url)
public inline virtual void setBody(const std::string * jsonParameters)
public virtual void setHeader(const std::vector< HeaderPair > & header)
public virtual void setMultipart(const std::vector< Part > & parts)
public inline virtual void setResponseCallback(const ResponseCallback & callback)
public virtual Response request(RequestMethod method)

Members

public inline virtual void setUrl(const std::string & url)

public inline virtual void setBody(const std::string * jsonParameters)

public virtual void setHeader(const std::vector< HeaderPair > & header)

public virtual void setMultipart(const std::vector< Part > & parts)

public inline virtual void setResponseCallback(const ResponseCallback & callback)

public virtual Response request(RequestMethod method)

class SleepyDiscord::CPRSession

class SleepyDiscord::CPRSession
: public SleepyDiscord::GenericSession

Summary

MembersDescriptions
public inline virtual void setUrl(const std::string & url)
public inline virtual void setBody(const std::string * jsonParameters)
public virtual void setHeader(const std::vector< HeaderPair > & header)
public virtual void setMultipart(const std::vector< Part > & parts)
public inline virtual void setResponseCallback(const ResponseCallback & callback)
public virtual Response request(RequestMethod method)

Members

public inline virtual void setUrl(const std::string & url)

public inline virtual void setBody(const std::string * jsonParameters)

public virtual void setHeader(const std::vector< HeaderPair > & header)

public virtual void setMultipart(const std::vector< Part > & parts)

public inline virtual void setResponseCallback(const ResponseCallback & callback)

public virtual Response request(RequestMethod method)

class SleepyDiscord::CustomSession

class SleepyDiscord::CustomSession
: public SleepyDiscord::GenericSession

Summary

MembersDescriptions
public inline CustomSession()
public inline virtual void setUrl(const std::string & url)
public inline virtual void setBody(const std::string * jsonParamters)
public inline virtual void setHeader(const std::vector< HeaderPair > & header)
public inline virtual void setMultipart(const std::vector< Part > & parts)
public inline virtual void setResponseCallback(const ResponseCallback & callback)
public inline virtual Response request(RequestMethod method)

Members

public inline CustomSession()

public inline virtual void setUrl(const std::string & url)

public inline virtual void setBody(const std::string * jsonParamters)

public inline virtual void setHeader(const std::vector< HeaderPair > & header)

public inline virtual void setMultipart(const std::vector< Part > & parts)

public inline virtual void setResponseCallback(const ResponseCallback & callback)

public inline virtual Response request(RequestMethod method)

class SleepyDiscord::CustomUDPClient

class SleepyDiscord::CustomUDPClient
: public SleepyDiscord::GenericUDPClient

Summary

MembersDescriptions
protected inline CustomUDPClient()
protected inline virtual bool connect(const std::string & to,const uint16_t port)
protected inline virtual void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)
protected inline virtual void receive(ReceiveHandler handler)

Members

protected inline CustomUDPClient()

protected inline virtual bool connect(const std::string & to,const uint16_t port)

protected inline virtual void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)

protected inline virtual void receive(ReceiveHandler handler)

class SleepyDiscord::DiscordObject

Summary

MembersDescriptions

Members

class SleepyDiscord::GenericCompression

Summary

MembersDescriptions
public virtual ~GenericCompression() = default
public void uncompress(const std::string & compressed)
public void getOutput(std::string & uncompressedOut)
public void resetStream()
public bool streamEnded()

Members

public virtual ~GenericCompression() = default

public void uncompress(const std::string & compressed)

public void getOutput(std::string & uncompressedOut)

public void resetStream()

public bool streamEnded()

class SleepyDiscord::GenericMessageReceiver

Summary

MembersDescriptions
public WebsocketConnection connection
public virtual ~GenericMessageReceiver() = default
public inline virtual void initialize()
public inline virtual void handleFailToConnect()
public void processMessage(const std::string & message)
public inline virtual void processCloseCode(const int16_t)
public inline virtual void processMessage(const WebSocketMessage message)
protected int consecutiveReconnectsCount
protected Timer reconnectTimer
protected inline const time_t getRetryDelay()

Members

public WebsocketConnection connection

public virtual ~GenericMessageReceiver() = default

public inline virtual void initialize()

public inline virtual void handleFailToConnect()

public void processMessage(const std::string & message)

public inline virtual void processCloseCode(const int16_t)

public inline virtual void processMessage(const WebSocketMessage message)

protected int consecutiveReconnectsCount

protected Timer reconnectTimer

protected inline const time_t getRetryDelay()

class SleepyDiscord::GenericScheduleHandler

Summary

MembersDescriptions
public virtual ~GenericScheduleHandler() = default
public Timer schedule(TimedTask code,const time_t milliseconds)

Members

public virtual ~GenericScheduleHandler() = default

public Timer schedule(TimedTask code,const time_t milliseconds)

class SleepyDiscord::GenericSession

Summary

MembersDescriptions
public void setUrl(const std::string & url)
public void setBody(const std::string * jsonParameters)
public void setHeader(const std::vector< HeaderPair > & header)
public void setMultipart(const std::vector< Part > & parts)
public void setResponseCallback(const ResponseCallback & callback)
public Response request(RequestMethod method)
typedef ResponseCallback

Members

public void setUrl(const std::string & url)

public void setBody(const std::string * jsonParameters)

public void setHeader(const std::vector< HeaderPair > & header)

public void setMultipart(const std::vector< Part > & parts)

public void setResponseCallback(const ResponseCallback & callback)

public Response request(RequestMethod method)

typedef ResponseCallback

class SleepyDiscord::GenericUDPClient

Summary

MembersDescriptions
public bool connect(const std::string & to,const uint16_t port)
public void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)
public void receive(ReceiveHandler handler)
public inline void send(const std::vector< uint8_t > buffer,SendHandler handler)
typedef SendHandler
typedef ReceiveHandler

Members

public bool connect(const std::string & to,const uint16_t port)

public void send(const uint8_t * buffer,size_t bufferLength,SendHandler handler)

public void receive(ReceiveHandler handler)

public inline void send(const std::vector< uint8_t > buffer,SendHandler handler)

typedef SendHandler

typedef ReceiveHandler

class SleepyDiscord::IdentifiableDiscordObject

class SleepyDiscord::IdentifiableDiscordObject
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake< Derived > ID
public IdentifiableDiscordObject() = default
public inline IdentifiableDiscordObject(Snowflake< Derived > id)
public inline operator Snowflake< Derived > &()
public inline bool empty() const
public inline void merge(Derived & changes)
public template<>
inline bool operator==(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & right) const
public template<>
inline bool operator!=(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & right) const
public inline bool operator==(const Snowflake< Derived > & right) const
public inline bool operator!=(const Snowflake< Derived > & right) const
public inline bool operator==(const IdentifiableDiscordObject< Derived > & right) const
public inline bool operator!=(const IdentifiableDiscordObject< Derived > & right) const
public inline const Time getTimestamp()
typedef Parent
typedef Identifier

Members

public Snowflake< Derived > ID

public IdentifiableDiscordObject() = default

public inline IdentifiableDiscordObject(Snowflake< Derived > id)

public inline operator Snowflake< Derived > &()

public inline bool empty() const

public inline void merge(Derived & changes)

public template<>
inline bool operator==(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & right) const

public template<>
inline bool operator!=(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & right) const

public inline bool operator==(const Snowflake< Derived > & right) const

public inline bool operator!=(const Snowflake< Derived > & right) const

public inline bool operator==(const IdentifiableDiscordObject< Derived > & right) const

public inline bool operator!=(const IdentifiableDiscordObject< Derived > & right) const

public inline const Time getTimestamp()

typedef Parent

typedef Identifier

class SleepyDiscord::Route

Summary

MembersDescriptions
public Route(const std::string route,const std::initializer_list< std::string > & _values)
public Route(const char * route)
public inline const std::string & url()
public const Bucket bucket(RequestMethod method)
public inline operator const std::string &()
public inline const std::string & getPath()
typedef Bucket

Members

public Route(const std::string route,const std::initializer_list< std::string > & _values)

public Route(const char * route)

public inline const std::string & url()

public const Bucket bucket(RequestMethod method)

public inline operator const std::string &()

public inline const std::string & getPath()

typedef Bucket

class SleepyDiscord::ServerCache

class SleepyDiscord::ServerCache
: public SleepyDiscord::Cache< Server >

Summary

MembersDescriptions
public inline ServerCache()
public inline ServerCache(Cache](#struct_sleepy_discord_1_1_cache)< [Server > list)
public inline const_iterator findSeverWith(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > & channelID)
public inline const_iterator findServerWith(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)
public inline iterator findServer(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID)

Members

public inline ServerCache()

public inline ServerCache(Cache](#struct_sleepy_discord_1_1_cache)< [Server > list)

public inline const_iterator findSeverWith(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > & channelID)

public inline const_iterator findServerWith(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)

public inline iterator findServer(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server > serverID)

class SleepyDiscord::VoiceConnection

class SleepyDiscord::VoiceConnection
: public SleepyDiscord::GenericMessageReceiver

Summary

MembersDescriptions
public VoiceConnection(BaseDiscordClient * client,VoiceContext & _context)
public VoiceConnection(VoiceConnection &&) = default
public ~VoiceConnection() = default
public inline bool operator==(const VoiceConnection & right)
public inline bool isReady() const
public inline void setAudioSource(BaseAudioSource *& source)
public inline bool hasAudioSource() const
public inline BaseAudioSource&getAudioSource()
public inline void setAudioOutput(BaseAudioOutput *& output)
public inline bool hasAudioOutput() const
public inline BaseAudioOutput&getAudioOutput()
public void startSpeaking()
public inline void startSpeaking(BaseAudioSource * source)
public template<>
inline void startSpeaking(Types &&... arguments)
public void startListening()
public inline BaseDiscordClient&getDiscordClient()
public inline BaseDiscordClient&getOrigin()
public inline VoiceContext&getContext()
public void speak(AudioSample *& audioData,const std::size_t & length)
public void disconnect()

Members

public VoiceConnection(BaseDiscordClient * client,VoiceContext & _context)

public VoiceConnection(VoiceConnection &&) = default

public ~VoiceConnection() = default

public inline bool operator==(const VoiceConnection & right)

public inline bool isReady() const

public inline void setAudioSource(BaseAudioSource *& source)

public inline bool hasAudioSource() const

public inline BaseAudioSource&getAudioSource()

public inline void setAudioOutput(BaseAudioOutput *& output)

public inline bool hasAudioOutput() const

public inline BaseAudioOutput&getAudioOutput()

public void startSpeaking()

public inline void startSpeaking(BaseAudioSource * source)

public template<>
inline void startSpeaking(Types &&... arguments)

public void startListening()

public inline BaseDiscordClient&getDiscordClient()

public inline BaseDiscordClient&getOrigin()

public inline VoiceContext&getContext()

public void speak(AudioSample *& audioData,const std::size_t & length)

public void disconnect()

class SleepyDiscord::ZLibCompression

class SleepyDiscord::ZLibCompression
: public SleepyDiscord::GenericCompression

Summary

MembersDescriptions
public ZLib::Stream stream
public int statusCode
public Output output
public std::mutex mutex
public ZLibCompression()
public inline ~ZLibCompression()
public virtual void uncompress(const std::string & compressed)
public virtual void getOutput(std::string & uncompressedOut)
public inline virtual void resetStream()
public inline virtual bool streamEnded()
typedef Output

Members

public ZLib::Stream stream

public int statusCode

public Output output

public std::mutex mutex

public ZLibCompression()

public inline ~ZLibCompression()

public virtual void uncompress(const std::string & compressed)

public virtual void getOutput(std::string & uncompressedOut)

public inline virtual void resetStream()

public inline virtual bool streamEnded()

typedef Output

struct SleepyDiscord::ActionRow

struct SleepyDiscord::ActionRow
: public SleepyDiscord::ComponentTemp< ActionRow >

Summary

MembersDescriptions
public std::vector< std::shared_ptr< BaseComponent> >components
public ActionRow() = default
public ~ActionRow() = default
public ActionRow(json::Value & json)
public inline ActionRow(const nonstd::string_view & json)
public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [ActionRow>::JSONStruct,std::make_tuple(json::pair<json::ContainerTypeHelper >(&ActionRow::components, "components", json::OPTIONAL_FIELD)))

Members

public std::vector< std::shared_ptr< BaseComponent> >components

public ActionRow() = default

public ~ActionRow() = default

public ActionRow(json::Value & json)

public inline ActionRow(const nonstd::string_view & json)

public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [ActionRow>::JSONStruct,std::make_tuple(json::pair<json::ContainerTypeHelper >(&ActionRow::components, "components", json::OPTIONAL_FIELD)))

struct SleepyDiscord::Activity

struct SleepyDiscord::Activity
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public enum SleepyDiscord::Activity::ActivityType type
public std::string url
public ActivityTimestamp timestamps
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Application>applicationID
public std::string details
public std::string state
public ActivityAssets assets
public ActivitySecrets secrets
public bool instance
public enum SleepyDiscord::Activity::ActivityFlags flags
public Activity() = default
public ~Activity() = default
public Activity(const json::Value & json)
public inline Activity(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum ActivityType
enum ActivityFlags

Members

public std::string name

public enum SleepyDiscord::Activity::ActivityType type

public std::string url

public ActivityTimestamp timestamps

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Application>applicationID

public std::string details

public std::string state

public ActivityAssets assets

public ActivitySecrets secrets

public bool instance

public enum SleepyDiscord::Activity::ActivityFlags flags

public Activity() = default

public ~Activity() = default

public Activity(const json::Value & json)

public inline Activity(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum ActivityType

ValuesDescriptions
ACTIVITY_TYPE_NONE
GAME
STREAMING
LISTENING

enum ActivityFlags

ValuesDescriptions
NONE
INSTANCE
JOIN
SPECTATE
JOIN_REQUEST
SYNC
PLAY

struct SleepyDiscord::ActivityAssets

struct SleepyDiscord::ActivityAssets
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string largeImage
public std::string largeText
public std::string smallImage
public std::string smallText
public ActivityAssets() = default
public ~ActivityAssets() = default
public ActivityAssets(const json::Value & json)
public inline ActivityAssets(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string largeImage

public std::string largeText

public std::string smallImage

public std::string smallText

public ActivityAssets() = default

public ~ActivityAssets() = default

public ActivityAssets(const json::Value & json)

public inline ActivityAssets(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ActivityParty

struct SleepyDiscord::ActivityParty
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string ID
public std::array< int64_t, 2 > size
public int64_t & currentSize
public int64_t & maxSize
public ActivityParty() = default
public ~ActivityParty() = default
public ActivityParty(const json::Value & json)
public inline ActivityParty(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::StdArrayTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public std::string ID

public std::array< int64_t, 2 > size

public int64_t & currentSize

public int64_t & maxSize

public ActivityParty() = default

public ~ActivityParty() = default

public ActivityParty(const json::Value & json)

public inline ActivityParty(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::StdArrayTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ActivitySecrets

struct SleepyDiscord::ActivitySecrets
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string join
public std::string spectate
public std::string match
public ActivitySecrets() = default
public ~ActivitySecrets() = default
public ActivitySecrets(const json::Value & json)
public inline ActivitySecrets(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string join

public std::string spectate

public std::string match

public ActivitySecrets() = default

public ~ActivitySecrets() = default

public ActivitySecrets(const json::Value & json)

public inline ActivitySecrets(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ActivityTimestamp

struct SleepyDiscord::ActivityTimestamp
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Time start
public Time end
public ActivityTimestamp() = default
public ~ActivityTimestamp() = default
public ActivityTimestamp(const json::Value & json)
public inline ActivityTimestamp(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair< ActivityTimestampTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<ActivityTimestampTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public Time start

public Time end

public ActivityTimestamp() = default

public ~ActivityTimestamp() = default

public ActivityTimestamp(const json::Value & json)

public inline ActivityTimestamp(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair< ActivityTimestampTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<ActivityTimestampTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ActivityTimestampTypeHelper

Summary

MembersDescriptions
typedef TypeHelper

Members

typedef TypeHelper

struct SleepyDiscord::AllowedMentions

Summary

MembersDescriptions
public ParseContainer parse
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >users
public MentionReplierFlag repliedUser
public AllowedMentions() = default
public ~AllowedMentions() = default
public inline AllowedMentions(int)
public AllowedMentions(const json::Value & json)
public inline AllowedMentions(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)
public inline JSONStructEnd const bool empty() const
enum MentionReplierFlag
typedef ParseValueType
typedef ParseContainer

Members

public ParseContainer parse

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >users

public MentionReplierFlag repliedUser

public AllowedMentions() = default

public ~AllowedMentions() = default

public inline AllowedMentions(int)

public AllowedMentions(const json::Value & json)

public inline AllowedMentions(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)

public inline JSONStructEnd const bool empty() const

enum MentionReplierFlag

ValuesDescriptions
NotSet
WillNotMentionReply
MentionReply

typedef ParseValueType

typedef ParseContainer

struct SleepyDiscord::AllowMentionsParseHelper

struct SleepyDiscord::AllowMentionsParseHelper
: public SleepyDiscord::json::ToContainerFunction< Container, TypeHelper >
: public SleepyDiscord::json::FromContainerFunction< Container, TypeHelper >
: public SleepyDiscord::json::IsArrayFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand

struct SleepyDiscord::AppCommand
: public SleepyDiscord::IdentifiableDiscordObject< AppCommand >

Summary

MembersDescriptions
public Type type
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID
public std::string name
public std::string description
public std::vector< Option>options
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public bool defaultPermission
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>version
public AppCommand() = default
public AppCommand(json::Value & json)
public inline AppCommand(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
enum Type
typedef InteractionData
typedef EmptyOptions

Members

public Type type

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID

public std::string name

public std::string description

public std::vector< Option>options

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public bool defaultPermission

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>version

public AppCommand() = default

public AppCommand(json::Value & json)

public inline AppCommand(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

enum Type

ValuesDescriptions
NONE
CHAT_INPUT
USER
MESSAGE

typedef InteractionData

typedef EmptyOptions

struct SleepyDiscord::Application

Summary

MembersDescriptions

Members

struct SleepyDiscord::ArrayResponseWrapper

struct SleepyDiscord::ArrayResponseWrapper
: public SleepyDiscord::StandardResponse

Summary

MembersDescriptions
public inline operator const std::string &() const
public inline rapidjson::Document getDoc()
public template<>
inline rapidjson::ParseResult getDoc(Callback & callback)
public inline explicit StandardResponse(const Response & response)
typedef Type

Members

public inline operator const std::string &() const

public inline rapidjson::Document getDoc()

public template<>
inline rapidjson::ParseResult getDoc(Callback & callback)

public inline explicit StandardResponse(const Response & response)

typedef Type

struct SleepyDiscord::Attachment

struct SleepyDiscord::Attachment
: public SleepyDiscord::IdentifiableDiscordObject< Attachment >

Summary

MembersDescriptions
public std::string filename
public uint64_t size
public std::string url
public std::string proxy_url
public uint64_t height
public uint64_t width
public Attachment() = default
public Attachment(const json::Value & json)
public inline Attachment(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD)

Members

public std::string filename

public uint64_t size

public std::string url

public std::string proxy_url

public uint64_t height

public uint64_t width

public Attachment() = default

public Attachment(const json::Value & json)

public inline Attachment(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD)

struct SleepyDiscord::AudioSource

struct SleepyDiscord::AudioSource
: public SleepyDiscord::BasicAudioSourceForContainers

Summary

MembersDescriptions
public inline AudioSource()
public inline virtual void read(AudioTransmissionDetails &,int16_t *&,std::size_t &)
public inline virtual void read(AudioTransmissionDetails & details,Container & target)
protected Container containedAudioData
typedef Container

Members

public inline AudioSource()

public inline virtual void read(AudioTransmissionDetails &,int16_t *&,std::size_t &)

public inline virtual void read(AudioTransmissionDetails & details,Container & target)

protected Container containedAudioData

typedef Container

struct SleepyDiscord::AudioTimer

Summary

MembersDescriptions
public Timer timer
public time_t nextTime
public inline void stop()

Members

public Timer timer

public time_t nextTime

public inline void stop()

struct SleepyDiscord::AudioTransmissionDetails

Summary

MembersDescriptions
public inline VoiceContext&context()
public inline std::size_t amountSentSinceLastTime()

Members

public inline VoiceContext&context()

public inline std::size_t amountSentSinceLastTime()

struct SleepyDiscord::AudioVectorSource

struct SleepyDiscord::AudioVectorSource
: public SleepyDiscord::AudioSource< std::vector< AudioSample > >

Summary

MembersDescriptions
public inline AudioVectorSource()

Members

public inline AudioVectorSource()

struct SleepyDiscord::AuditLog

Summary

MembersDescriptions

Members

struct SleepyDiscord::AuditLogKeyData

Summary

MembersDescriptions
typedef ObjectChanged
typedef Type

Members

typedef ObjectChanged

typedef Type

struct SleepyDiscord::BaseAudioOutput

Summary

MembersDescriptions
public BaseAudioOutput() = default
public virtual ~BaseAudioOutput() = default
public inline virtual void write(Container audio,AudioTransmissionDetails & details)
typedef Container

Members

public BaseAudioOutput() = default

public virtual ~BaseAudioOutput() = default

public inline virtual void write(Container audio,AudioTransmissionDetails & details)

typedef Container

struct SleepyDiscord::BaseAudioSource

Summary

MembersDescriptions
public const AudioSourceType type
public SpeakingFlag speakingFlag
public inline BaseAudioSource()
public inline explicit BaseAudioSource(AudioSourceType typ)
public inline virtual bool isOpusEncoded()
public virtual ~BaseAudioSource() = default
public inline virtual void read(AudioTransmissionDetails &,int16_t *&,std::size_t &)
enum SpeakingFlag

Members

public const AudioSourceType type

public SpeakingFlag speakingFlag

public inline BaseAudioSource()

public inline explicit BaseAudioSource(AudioSourceType typ)

public inline virtual bool isOpusEncoded()

public virtual ~BaseAudioSource() = default

public inline virtual void read(AudioTransmissionDetails &,int16_t *&,std::size_t &)

enum SpeakingFlag

ValuesDescriptions
Microphone
Soundshare
Priority

struct SleepyDiscord::BaseComponent

struct SleepyDiscord::BaseComponent
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public BaseComponent() = delete
public inline BaseComponent(Type _type)
public ~BaseComponent() = default
public inline const ComponentType getType() const
protected Type type
typedef Type

Members

public BaseComponent() = delete

public inline BaseComponent(Type _type)

public ~BaseComponent() = default

public inline const ComponentType getType() const

protected Type type

typedef Type

struct SleepyDiscord::BaseEditWebhookParams

struct SleepyDiscord::BaseEditWebhookParams
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public tl::optional< std::string > content
public tl::optional< std::vector< Embed> >embeds
public AllowedMentions allowedMentions
public tl::optional< std::vector< std::shared_ptr< BaseComponent> > >components
public JSONStructStart std::make_tuple(json::pair< json::OptionalTypeHelper > &::, "", ::OPTIONAL_FIELD,json::ComplexPair](#struct_sleepy_discord_1_1json_1_1_complex_pair)< [json::OptionalTypeHelper](#struct_sleepy_discord_1_1json_1_1_optional_type_helper), [json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::ComplexPair](#struct_sleepy_discord_1_1json_1_1_complex_pair)< [json::OptionalTypeHelper](#struct_sleepy_discord_1_1json_1_1_optional_type_helper), [json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD)

Members

public tl::optional< std::string > content

public tl::optional< std::vector< Embed> >embeds

public AllowedMentions allowedMentions

public tl::optional< std::vector< std::shared_ptr< BaseComponent> > >components

public JSONStructStart std::make_tuple(json::pair< json::OptionalTypeHelper > &::, "", ::OPTIONAL_FIELD,json::ComplexPair](#struct_sleepy_discord_1_1json_1_1_complex_pair)< [json::OptionalTypeHelper](#struct_sleepy_discord_1_1json_1_1_optional_type_helper), [json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::ComplexPair](#struct_sleepy_discord_1_1json_1_1_complex_pair)< [json::OptionalTypeHelper](#struct_sleepy_discord_1_1json_1_1_optional_type_helper), [json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::BaseWebHookParams

struct SleepyDiscord::BaseWebHookParams
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public bool tts
public std::string content
public std::vector< Embed>embeds
public AllowedMentions allowedMentions
public std::vector< std::shared_ptr< BaseComponent> >components
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public bool tts

public std::string content

public std::vector< Embed>embeds

public AllowedMentions allowedMentions

public std::vector< std::shared_ptr< BaseComponent> >components

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::BasicAudioSourceForContainers

struct SleepyDiscord::BasicAudioSourceForContainers
: public SleepyDiscord::BaseAudioSource

Summary

MembersDescriptions
public inline BasicAudioSourceForContainers()
public void speak(VoiceConnection & connection,AudioTransmissionDetails & details,std::size_t & length)

Members

public inline BasicAudioSourceForContainers()

public void speak(VoiceConnection & connection,AudioTransmissionDetails & details,std::size_t & length)

struct SleepyDiscord::BooleanResponse

struct SleepyDiscord::BooleanResponse
: public SleepyDiscord::StandardResponse

Summary

MembersDescriptions
public const Callback wasSuccessful
public inline BooleanResponse(const Response & response,const Callback callback)
public inline operator Type() const
public inline Type operator*() const
public inline Type cast()
public inline explicit StandardResponse(const Response & response)
typedef Callback
typedef Type

Members

public const Callback wasSuccessful

public inline BooleanResponse(const Response & response,const Callback callback)

public inline operator Type() const

public inline Type operator*() const

public inline Type cast()

public inline explicit StandardResponse(const Response & response)

typedef Callback

typedef Type

struct SleepyDiscord::Button

struct SleepyDiscord::Button
: public SleepyDiscord::ComponentTemp< Button >

Summary

MembersDescriptions
public ButtonStyle style
public std::string label
public Emoji emoji
public std::string customID
public std::string url
public bool disabled
public Button() = default
public ~Button() = default
public Button(const json::Value & json)
public inline Button(const nonstd::string_view & json)
public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [Button>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&Button::style, "style", json::REQUIRIED_FIELD), json::pair(&Button::label, "label", json::OPTIONAL_FIELD), json::pair(&Button::emoji, "emoji", json::OPTIONAL_FIELD), json::pair(&Button::customID, "custom_id", json::OPTIONAL_FIELD), json::pair(&Button::url, "url", json::OPTIONAL_FIELD), json::pair(&Button::disabled, "disabled", json::OPTIONAL_FIELD)))

Members

public ButtonStyle style

public std::string label

public Emoji emoji

public std::string customID

public std::string url

public bool disabled

public Button() = default

public ~Button() = default

public Button(const json::Value & json)

public inline Button(const nonstd::string_view & json)

public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [Button>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&Button::style, "style", json::REQUIRIED_FIELD), json::pair(&Button::label, "label", json::OPTIONAL_FIELD), json::pair(&Button::emoji, "emoji", json::OPTIONAL_FIELD), json::pair(&Button::customID, "custom_id", json::OPTIONAL_FIELD), json::pair(&Button::url, "url", json::OPTIONAL_FIELD), json::pair(&Button::disabled, "disabled", json::OPTIONAL_FIELD)))

struct SleepyDiscord::Cache

struct SleepyDiscord::Cache
: public CacheParent< _Type >

Summary

MembersDescriptions
public inline Cache()
public inline Cache(Parent map)
public template<>
inline Cache(InputIterator first,InputIterator last)
public inline iterator begin()
public inline iterator end()
public inline const_iterator begin() const
public inline const_iterator end() const
public template<>
inline const_iterator findOneWithObject(Container Type::* list,const Snowflake< Object > & objectID)
public inline std::pair< iterator, bool > insert(Type & value)
public template<>
inline std::pair< iterator, bool > emplace(const json::Value & value)
public inline iterator find(const Key & key)
public inline const_iterator find(const Key & key) const
public inline iterator erase(const_iterator pos)
public inline iterator erase(const_iterator first,const_iterator last)
typedef Type
typedef Parent
typedef Key

Members

public inline Cache()

public inline Cache(Parent map)

public template<>
inline Cache(InputIterator first,InputIterator last)

public inline iterator begin()

public inline iterator end()

public inline const_iterator begin() const

public inline const_iterator end() const

public template<>
inline const_iterator findOneWithObject(Container Type::* list,const Snowflake< Object > & objectID)

public inline std::pair< iterator, bool > insert(Type & value)

public template<>
inline std::pair< iterator, bool > emplace(const json::Value & value)

public inline iterator find(const Key & key)

public inline const_iterator find(const Key & key) const

public inline iterator erase(const_iterator pos)

public inline iterator erase(const_iterator first,const_iterator last)

typedef Type

typedef Parent

typedef Key

struct SleepyDiscord::caseInsensitiveCompare

Summary

MembersDescriptions
public bool operator()(const std::string & a,const std::string & b) const noexcept

Members

public bool operator()(const std::string & a,const std::string & b) const noexcept

struct SleepyDiscord::Channel

struct SleepyDiscord::Channel
: public SleepyDiscord::IdentifiableDiscordObject< Channel >

Summary

MembersDescriptions
public enum SleepyDiscord::Channel::ChannelType type
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public int position
public std::vector< Overwrite>permissionOverwrites
public std::string name
public std::string topic
public bool isNSFW
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>lastMessageID
public int bitrate
public int userLimit
public std::vector< User>recipients
public std::string icon
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>ownerID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>parentID
public std::string lastPinTimestamp
public Channel() = default
public Channel(const json::Value & rawJSON)
public inline Channel(const nonstd::string_view & json)
public ~Channel()
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
enum ChannelType

Members

public enum SleepyDiscord::Channel::ChannelType type

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public int position

public std::vector< Overwrite>permissionOverwrites

public std::string name

public std::string topic

public bool isNSFW

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>lastMessageID

public int bitrate

public int userLimit

public std::vector< User>recipients

public std::string icon

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>ownerID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>parentID

public std::string lastPinTimestamp

public Channel() = default

public Channel(const json::Value & rawJSON)

public inline Channel(const nonstd::string_view & json)

public ~Channel()

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

enum ChannelType

ValuesDescriptions
CHANNEL_TYPE_NONE
SERVER_TEXT
DM
SERVER_VOICE
GROUP_DM
SERVER_CATEGORY
GUILD_NEWS
GUILD_STORE
ANNOUNCEMENT_THREAD
PUBLIC_THREAD
PRIVATE_THREAD
GUILD_STAGE_VOICE
GUILD_DIRECTORY
GUILD_FORUM
GUILD_MEDIA

struct SleepyDiscord::ComponentTemp

struct SleepyDiscord::ComponentTemp
: public SleepyDiscord::BaseComponent

Summary

MembersDescriptions
public inline ComponentTemp()
public ~ComponentTemp() = default
public inline operator json::Value()
public inline operator RawComponent()
public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD)

Members

public inline ComponentTemp()

public ~ComponentTemp() = default

public inline operator json::Value()

public inline operator RawComponent()

public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::Connection

struct SleepyDiscord::Connection
: public SleepyDiscord::IdentifiableDiscordObject< Connection >

Summary

MembersDescriptions
public std::string name
public std::string type
public bool revoked
public Connection() = default
public inline Connection(const nonstd::string_view & json)
public Connection(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public std::string name

public std::string type

public bool revoked

public Connection() = default

public inline Connection(const nonstd::string_view & json)

public Connection(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::EditMessageParams

struct SleepyDiscord::EditMessageParams
: public SleepyDiscord::MessageParams< EditMessageParams >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID
public Message::Flags flags
public std::vector< Attachment>attachments
public JSONStructStart std::tuple_cat(MessageParams](#struct_sleepy_discord_1_1_message_params)< [EditMessageParams>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper](#struct_sleepy_discord_1_1json_1_1_enum_type_helper) >(&EditMessageParams::flags, "flags", json::OPTIONAL_FIELD), json::pair< [json::ContainerTypeHelper >(&EditMessageParams::attachments, "attachments", json::OPTIONAL_FIELD)))

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID

public Message::Flags flags

public std::vector< Attachment>attachments

public JSONStructStart std::tuple_cat(MessageParams](#struct_sleepy_discord_1_1_message_params)< [EditMessageParams>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper](#struct_sleepy_discord_1_1json_1_1_enum_type_helper) >(&EditMessageParams::flags, "flags", json::OPTIONAL_FIELD), json::pair< [json::ContainerTypeHelper >(&EditMessageParams::attachments, "attachments", json::OPTIONAL_FIELD)))

struct SleepyDiscord::EditWebhookParams

struct SleepyDiscord::EditWebhookParams
: public SleepyDiscord::BaseEditWebhookParams< EditWebhookParams >

Summary

MembersDescriptions
public JSONStructStart std::tuple_cat(BaseEditWebhookParams](#struct_sleepy_discord_1_1_base_edit_webhook_params)< [EditWebhookParams >::JSONStruct)

Members

public JSONStructStart std::tuple_cat(BaseEditWebhookParams](#struct_sleepy_discord_1_1_base_edit_webhook_params)< [EditWebhookParams >::JSONStruct)

struct SleepyDiscord::Embed

struct SleepyDiscord::Embed
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string title
public std::string type
public std::string description
public std::string url
public std::string timestamp
public int32_t color
public EmbedFooter footer
public EmbedImage image
public EmbedThumbnail thumbnail
public EmbedVideo video
public EmbedProvider provider
public EmbedAuthor author
public std::vector< EmbedField>fields
public Embed() = default
public Embed(const json::Value & json)
public inline Embed(const nonstd::string_view & json)
public inline Embed(const Flag f)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<-1 > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum Flag

Members

public std::string title

public std::string type

public std::string description

public std::string url

public std::string timestamp

public int32_t color

public EmbedImage image

public EmbedThumbnail thumbnail

public EmbedVideo video

public EmbedProvider provider

public EmbedAuthor author

public std::vector< EmbedField>fields

public Embed() = default

public Embed(const json::Value & json)

public inline Embed(const nonstd::string_view & json)

public inline Embed(const Flag f)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<-1 > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum Flag

ValuesDescriptions
INVALID_EMBED
VALID_EMBED

struct SleepyDiscord::EmbedAuthor

struct SleepyDiscord::EmbedAuthor
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public std::string url
public std::string iconUrl
public std::string proxyIconUrl
public EmbedAuthor() = default
public EmbedAuthor(const json::Value & json)
public inline EmbedAuthor(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public std::string url

public std::string iconUrl

public std::string proxyIconUrl

public EmbedAuthor() = default

public EmbedAuthor(const json::Value & json)

public inline EmbedAuthor(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedField

struct SleepyDiscord::EmbedField
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public std::string value
public bool isInline
public EmbedField() = default
public EmbedField(const json::Value & json)
public inline EmbedField(const nonstd::string_view & json)
public inline EmbedField(std::string _name,std::string _value,bool _isInline)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public std::string value

public bool isInline

public EmbedField() = default

public EmbedField(const json::Value & json)

public inline EmbedField(const nonstd::string_view & json)

public inline EmbedField(std::string _name,std::string _value,bool _isInline)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedFooter

struct SleepyDiscord::EmbedFooter
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string text
public std::string iconUrl
public std::string proxyIconUrl
public EmbedFooter() = default
public EmbedFooter(const json::Value & json)
public inline EmbedFooter(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string text

public std::string iconUrl

public std::string proxyIconUrl

public EmbedFooter() = default

public EmbedFooter(const json::Value & json)

public inline EmbedFooter(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedImage

struct SleepyDiscord::EmbedImage
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string url
public std::string proxyUrl
public int64_t height
public int64_t width
public EmbedImage() = default
public EmbedImage(const json::Value & json)
public inline EmbedImage(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string url

public std::string proxyUrl

public int64_t height

public int64_t width

public EmbedImage() = default

public EmbedImage(const json::Value & json)

public inline EmbedImage(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedProvider

struct SleepyDiscord::EmbedProvider
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public std::string url
public EmbedProvider() = default
public EmbedProvider(const json::Value & json)
public inline EmbedProvider(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public std::string url

public EmbedProvider() = default

public EmbedProvider(const json::Value & json)

public inline EmbedProvider(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedThumbnail

struct SleepyDiscord::EmbedThumbnail
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string url
public std::string proxyUrl
public int64_t height
public int64_t width
public EmbedThumbnail() = default
public EmbedThumbnail(const json::Value & json)
public inline EmbedThumbnail(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string url

public std::string proxyUrl

public int64_t height

public int64_t width

public EmbedThumbnail() = default

public EmbedThumbnail(const json::Value & json)

public inline EmbedThumbnail(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmbedVideo

struct SleepyDiscord::EmbedVideo
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string url
public int64_t height
public int64_t width
public EmbedVideo() = default
public EmbedVideo(const json::Value & json)
public inline EmbedVideo(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string url

public int64_t height

public int64_t width

public EmbedVideo() = default

public EmbedVideo(const json::Value & json)

public inline EmbedVideo(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Emoji

struct SleepyDiscord::Emoji
: public SleepyDiscord::IdentifiableDiscordObject< Emoji >

Summary

MembersDescriptions
public std::string name
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles
public User user
public bool requireColons
public bool managed
public ~Emoji()
public Emoji() = default
public Emoji(const json::Value & rawJSON)
public inline Emoji(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles

public User user

public bool requireColons

public bool managed

public ~Emoji()

public Emoji() = default

public Emoji(const json::Value & rawJSON)

public inline Emoji(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::EmptyDiscordObject

Summary

MembersDescriptions
public EmptyDiscordObject() = default
public inline EmptyDiscordObject(const nonstd::string_view & rawJSON)
public inline EmptyDiscordObject(const json::Value & json)
public JSONStructStart std::make_tuple()

Members

public EmptyDiscordObject() = default

public inline EmptyDiscordObject(const nonstd::string_view & rawJSON)

public inline EmptyDiscordObject(const json::Value & json)

public JSONStructStart std::make_tuple()

struct SleepyDiscord::EndianTyped

Summary

MembersDescriptions
public Integer raw
typedef IntegerType

Members

public Integer raw

typedef IntegerType

struct SleepyDiscord::filePathPart

Summary

MembersDescriptions
public const std::string filePath

Members

public const std::string filePath

struct SleepyDiscord::FollowupMessage

struct SleepyDiscord::FollowupMessage
: public SleepyDiscord::BaseWebHookParams< FollowupMessage >

Summary

MembersDescriptions
public InteractionCallback::Message::Flags flags
public FollowupMessage() = default
public FollowupMessage(json::Value & json)
public inline FollowupMessage(const nonstd::string_view & json)
public JSONStructStart std::tuple_cat(BaseWebHookParams](#struct_sleepy_discord_1_1_base_web_hook_params)< [FollowupMessage>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&FollowupMessage::flags, "flags", json::OPTIONAL_FIELD)))

Members

public InteractionCallback::Message::Flags flags

public FollowupMessage() = default

public FollowupMessage(json::Value & json)

public inline FollowupMessage(const nonstd::string_view & json)

public JSONStructStart std::tuple_cat(BaseWebHookParams](#struct_sleepy_discord_1_1_base_web_hook_params)< [FollowupMessage>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&FollowupMessage::flags, "flags", json::OPTIONAL_FIELD)))

struct SleepyDiscord::Game

struct SleepyDiscord::Game
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public GameType type
public std::string url

Members

public std::string name

public GameType type

public std::string url

struct SleepyDiscord::Gateway

Summary

MembersDescriptions
public std::string url
public int shards
public SessionStartLimit sessionStartLimit
public Gateway() = default
public Gateway(const json::Value & rawJSON)
public inline Gateway(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string url

public int shards

public SessionStartLimit sessionStartLimit

public Gateway() = default

public Gateway(const json::Value & rawJSON)

public inline Gateway(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::GenericWebsocketConnection

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< Activity::ActivityType >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< AllowedMentions::MentionReplierFlag >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< AppCommand::Option::Default >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< Channel::ChannelType >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< InteractionCallback::Message::Flags >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< Overwrite::Type >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< StageInstance::PrivacyLevel >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetDefault< UnavailableServer::AvailableFlag >

Summary

MembersDescriptions

Members

struct SleepyDiscord::GetEnumBaseType

Summary

MembersDescriptions
typedef Value

Members

typedef Value

struct SleepyDiscord::GetEnumBaseType< AllowedMentions::MentionReplierFlag >

Summary

MembersDescriptions
typedef Value

Members

typedef Value

struct SleepyDiscord::GetEnumBaseType< UnavailableServer::AvailableFlag >

Summary

MembersDescriptions
typedef Value

Members

typedef Value

struct SleepyDiscord::HeaderPair

Summary

MembersDescriptions
public const char *const name
public std::string value
public inline HeaderPair(const char * _name)
public inline HeaderPair(const char * _name,std::string _value)

Members

public const char *const name

public std::string value

public inline HeaderPair(const char * _name)

public inline HeaderPair(const char * _name,std::string _value)

struct SleepyDiscord::Interaction

struct SleepyDiscord::Interaction
: public SleepyDiscord::IdentifiableDiscordObject< Interaction >

Summary

MembersDescriptions
public InteractionType type
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID
public InteractionData data
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public ServerMember member
public User user
public std::string token
public int version
public Message message
public Interaction() = default
public Interaction(json::Value & json)
public inline Interaction(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< 1 > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
typedef CallbackType
typedef Callback
typedef AutocompleteResponse
typedef MessageResponse
typedef EditMessageResponse
typedef ModalResponse
typedef AppCommandCallbackData
typedef Type

Members

public InteractionType type

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID

public InteractionData data

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public ServerMember member

public User user

public std::string token

public int version

public Message message

public Interaction() = default

public Interaction(json::Value & json)

public inline Interaction(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< 1 > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

typedef CallbackType

typedef Callback

typedef AutocompleteResponse

typedef MessageResponse

typedef EditMessageResponse

typedef ModalResponse

typedef AppCommandCallbackData

typedef Type

struct SleepyDiscord::InteractionCallbackHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::Autocomplete >

Summary

MembersDescriptions

Members

struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::EditMessage >

Summary

MembersDescriptions

Members

struct SleepyDiscord::InteractionCallbackHelper< InteractionCallback::Modal >

Summary

MembersDescriptions

Members

struct SleepyDiscord::InteractionCallbackTypeHelper

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::AppCommandAutocomplete >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::ChannelMessageWithSource >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::DefChannelMessageWScore >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::DeferredUpdateMessage >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::Modal >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::Pong >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionCallbackTypeHelper< IntCallBackT::UpdateMessage >

Summary

MembersDescriptions
typedef Type

Members

typedef Type

struct SleepyDiscord::InteractionData

struct SleepyDiscord::InteractionData
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand>ID
public std::string name
public AppCommand::Type type
public ResolvedData resolved
public std::vector< Option>options
public std::string customID
public ComponentType componentType
public std::vector< std::string > values
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>targetID
public std::vector< std::shared_ptr< BaseComponent> >components
public InteractionData() = default
public InteractionData(json::Value & json)
public inline InteractionData(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [AppCommand>ID

public std::string name

public AppCommand::Type type

public ResolvedData resolved

public std::vector< Option>options

public std::string customID

public ComponentType componentType

public std::vector< std::string > values

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>targetID

public std::vector< std::shared_ptr< BaseComponent> >components

public InteractionData() = default

public InteractionData(json::Value & json)

public inline InteractionData(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Invite

struct SleepyDiscord::Invite
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string code
public Server server
public Channel channel
public Invite() = default
public Invite(const json::Value & json)
public inline Invite(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public std::string code

public Server server

public Channel channel

public Invite() = default

public Invite(const json::Value & json)

public inline Invite(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::InviteMetadata

struct SleepyDiscord::InviteMetadata
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public User inviter
public int uses
public int max_users
public int max_age
public bool isTemporary
public std::string createAt
public bool revoked
public InviteMetadata() = default
public InviteMetadata(const json::Value & json)
public inline InviteMetadata(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public User inviter

public int uses

public int max_users

public int max_age

public bool isTemporary

public std::string createAt

public bool revoked

public InviteMetadata() = default

public InviteMetadata(const json::Value & json)

public inline InviteMetadata(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::Message

struct SleepyDiscord::Message
: public SleepyDiscord::IdentifiableDiscordObject< Message >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public User author
public ServerMember member
public std::string content
public std::string timestamp
public std::string editedTimestamp
public bool tts
public bool mentionEveryone
public std::vector< User>mentions
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >mentionRoles
public std::vector< Attachment>attachments
public std::vector< Embed>embeds
public std::vector< Reaction>reactions
public bool pinned
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook>webhookID
public enum SleepyDiscord::Message::MessageType type
public std::vector< Sticker>stickers
public MessageReference messageReference
public std::shared_ptr< Message>referencedMessage
public enum SleepyDiscord::Message::Flags flags
public Interaction interaction
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID
public std::vector< std::shared_ptr< BaseComponent> >components
public Message() = default
public ~Message() = default
public Message(json::Value & json)
public inline Message(const nonstd::string_view & json)
public bool startsWith(const std::string & test)
public std::size_t length()
public bool isMentioned(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > ID)
public bool isMentioned(User & _user)
public Message send(BaseDiscordClient * client)
public Message reply(BaseDiscordClient * client,std::string message,Embed embed)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::SmartPtrTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum MessageType
enum Flags

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public User author

public ServerMember member

public std::string content

public std::string timestamp

public std::string editedTimestamp

public bool tts

public bool mentionEveryone

public std::vector< User>mentions

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >mentionRoles

public std::vector< Attachment>attachments

public std::vector< Embed>embeds

public std::vector< Reaction>reactions

public bool pinned

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Webhook>webhookID

public enum SleepyDiscord::Message::MessageType type

public std::vector< Sticker>stickers

public MessageReference messageReference

public std::shared_ptr< Message>referencedMessage

public enum SleepyDiscord::Message::Flags flags

public Interaction interaction

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID

public std::vector< std::shared_ptr< BaseComponent> >components

public Message() = default

public ~Message() = default

public Message(json::Value & json)

public inline Message(const nonstd::string_view & json)

public bool startsWith(const std::string & test)

public std::size_t length()

public bool isMentioned(Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > ID)

public bool isMentioned(User & _user)

public Message send(BaseDiscordClient * client)

public Message reply(BaseDiscordClient * client,std::string message,Embed embed)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::SmartPtrTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum MessageType

ValuesDescriptions
DEFAULT
RECIPIENT_ADD
RECIPIENT_REMOVE
CALL
CHANNEL_NAME_CHANGE
CHANNEL_ICON_CHANGE
CHANNEL_PINNED_MESSAGE
GUILD_MEMBER_JOIN
USER_PREMIUM_GUILD_SUBSCRIPTION
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2
USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3
CHANNEL_FOLLOW_ADD
GUILD_DISCOVERY_DISQUALIFIED
GUILD_DISCOVERY_REQUALIFIED
REPLY

enum Flags

ValuesDescriptions
DEFAULT
CROSSPOSTED
IS_CROSSPOST
SUPPRESS_EMBEDS
SOURCE_MESSAGE_DELETED
URGENT
EPHEMERAL

struct SleepyDiscord::MessageParams

struct SleepyDiscord::MessageParams
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public std::string content
public std::vector< Embed>embed
public AllowedMentions allowedMentions
public std::vector< std::shared_ptr< BaseComponent> >components
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public std::string content

public std::vector< Embed>embed

public AllowedMentions allowedMentions

public std::vector< std::shared_ptr< BaseComponent> >components

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::MessageReference

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public MessageReference() = default
public ~MessageReference() = default
public MessageReference(const json::Value & json)
public inline MessageReference(const nonstd::string_view & json)
public inline MessageReference(const Message & message)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
public inline JSONStructEnd const bool empty() const

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public MessageReference() = default

public ~MessageReference() = default

public MessageReference(const json::Value & json)

public inline MessageReference(const nonstd::string_view & json)

public inline MessageReference(const Message & message)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

public inline JSONStructEnd const bool empty() const

struct SleepyDiscord::MessageRevisions

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public json::Value & RevisionsJSON
public inline MessageRevisions(json::Value & json)
public inline void applyChanges(Message & outOfDateMessage)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Message>messageID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public json::Value & RevisionsJSON

public inline MessageRevisions(json::Value & json)

public inline void applyChanges(Message & outOfDateMessage)

struct SleepyDiscord::ObjectResponse

struct SleepyDiscord::ObjectResponse
: public SleepyDiscord::StandardResponse

Summary

MembersDescriptions
public inline operator Type()
public inline Type & operator*() const
public inline Type cast()
public inline bool cast(Type & value)
public inline explicit StandardResponse(const Response & response)
typedef Type

Members

public inline operator Type()

public inline Type & operator*() const

public inline Type cast()

public inline bool cast(Type & value)

public inline explicit StandardResponse(const Response & response)

typedef Type

struct SleepyDiscord::OutputQueue

Summary

MembersDescriptions
public Queue queue
public Iterator _back
public Queue::size_type _size
public ~OutputQueue() = default
public inline bool empty() const
public template<>
inline Iterator emplace_back(Args &&... args)
public inline Buffer & front()
public inline Buffer & back()
public inline Iterator begin() noexcept
public inline Iterator end() noexcept
public inline ConstIterator begin() const noexcept
public inline ConstIterator end() const noexcept
public inline Queue::size_type size() const noexcept
public inline void resize(Queue::size_type count)
typedef Data
typedef Buffer
typedef Queue
typedef Iterator
typedef ConstIterator

Members

public Queue queue

public Iterator _back

public Queue::size_type _size

public ~OutputQueue() = default

public inline bool empty() const

public template<>
inline Iterator emplace_back(Args &&... args)

public inline Buffer & front()

public inline Buffer & back()

public inline Iterator begin() noexcept

public inline Iterator end() noexcept

public inline ConstIterator begin() const noexcept

public inline ConstIterator end() const noexcept

public inline Queue::size_type size() const noexcept

public inline void resize(Queue::size_type count)

typedef Data

typedef Buffer

typedef Queue

typedef Iterator

typedef ConstIterator

struct SleepyDiscord::Overwrite

struct SleepyDiscord::Overwrite
: public SleepyDiscord::IdentifiableDiscordObject< Overwrite >

Summary

MembersDescriptions
public Type type
public Permission allow
public Permission deny
public Overwrite() = default
public Overwrite(const json::Value & rawJSON)
public inline Overwrite(const nonstd::string_view & json)
public inline ~Overwrite()
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<UInt64StrTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<UInt64StrTypeHelper > &::, "", ::REQUIRIED_FIELD)
enum Type

Members

public Type type

public Permission allow

public Permission deny

public Overwrite() = default

public Overwrite(const json::Value & rawJSON)

public inline Overwrite(const nonstd::string_view & json)

public inline ~Overwrite()

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<UInt64StrTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<UInt64StrTypeHelper > &::, "", ::REQUIRIED_FIELD)

enum Type

ValuesDescriptions
TYPE_NONE
role
member

struct SleepyDiscord::Part

Summary

MembersDescriptions
public const std::string name
public const std::string value
public const bool isFile
public inline Part(const std::string _name,const std::string _value)
public inline Part(const std::string _name,const filePathPart _file)

Members

public const std::string name

public const std::string value

public const bool isFile

public inline Part(const std::string _name,const std::string _value)

public inline Part(const std::string _name,const filePathPart _file)

struct SleepyDiscord::PresenceUpdate

struct SleepyDiscord::PresenceUpdate
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public User user
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public std::string status
public std::vector< Activity>activities
public PresenceUpdate() = default
public ~PresenceUpdate() = default
public PresenceUpdate(const json::Value & json)
public inline PresenceUpdate(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

Members

public User user

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public std::string status

public std::vector< Activity>activities

public PresenceUpdate() = default

public ~PresenceUpdate() = default

public PresenceUpdate(const json::Value & json)

public inline PresenceUpdate(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::RateLimiter

Summary

MembersDescriptions
public std::atomic< bool > isGlobalRateLimited
public std::atomic< double > nextRetry
public inline void limitBucket(const Route::Bucket & bucket,const std::string & xBucket,double timestamp)
public inline const double getLiftTime(Route::Bucket & bucket,const double & currentTime)

Members

public std::atomic< bool > isGlobalRateLimited

public std::atomic< double > nextRetry

public inline void limitBucket(const Route::Bucket & bucket,const std::string & xBucket,double timestamp)

public inline const double getLiftTime(Route::Bucket & bucket,const double & currentTime)

struct SleepyDiscord::RawComponent

struct SleepyDiscord::RawComponent
: public SleepyDiscord::BaseComponent

Summary

MembersDescriptions
public json::Value data
public inline RawComponent(BaseComponent base,json::Value & rawJSON)
public inline RawComponent(json::Value & rawJSON)
public inline RawComponent(const nonstd::string_view & json)
public inline RawComponent(const RawComponent & origin)
public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const
public inline const bool empty() const
typedef JSONTypeHelper

Members

public json::Value data

public inline RawComponent(BaseComponent base,json::Value & rawJSON)

public inline RawComponent(json::Value & rawJSON)

public inline RawComponent(const nonstd::string_view & json)

public inline RawComponent(const RawComponent & origin)

public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const

public inline const bool empty() const

typedef JSONTypeHelper

struct SleepyDiscord::Reaction

struct SleepyDiscord::Reaction
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public int count
public bool me
public Emoji emoji
public Reaction() = default
public ~Reaction()
public Reaction(const json::Value & rawJSON)
public inline Reaction(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public int count

public bool me

public Emoji emoji

public Reaction() = default

public ~Reaction()

public Reaction(const json::Value & rawJSON)

public inline Reaction(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::Ready

struct SleepyDiscord::Ready
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public int v
public User user
public std::list< Channel>privateChannels
public std::list< UnavailableServer>servers
public std::string sessionID
public std::array< int, 2 > shard
public Ready() = default
public Ready(const json::Value & rawJSON)
public inline Ready(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair<json::StdArrayTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public int v

public User user

public std::list< Channel>privateChannels

public std::list< UnavailableServer>servers

public std::string sessionID

public std::array< int, 2 > shard

public Ready() = default

public Ready(const json::Value & rawJSON)

public inline Ready(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair<json::StdArrayTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Response

Summary

MembersDescriptions
public std::string text
public int32_t statusCode
public std::map< std::string, std::string, caseInsensitiveCompare>header
public time_t birth
public inline bool error() const
public Response() = default
public inline Response(int32_t _statusCode)

Members

public std::string text

public int32_t statusCode

public std::map< std::string, std::string, caseInsensitiveCompare>header

public time_t birth

public inline bool error() const

public Response() = default

public inline Response(int32_t _statusCode)

struct SleepyDiscord::Role

struct SleepyDiscord::Role
: public SleepyDiscord::IdentifiableDiscordObject< Role >

Summary

MembersDescriptions
public std::string name
public int color
public bool hoist
public int position
public Permission permissions
public bool managed
public bool mentionable
public Tags tags
public Role() = default
public inline ~Role()
public Role(const json::Value & rawJSON)
public inline Role(const nonstd::string_view & json)
public inline bool operator==(Role & right)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< UInt64StrTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public int color

public bool hoist

public int position

public Permission permissions

public bool managed

public bool mentionable

public Tags tags

public Role() = default

public inline ~Role()

public Role(const json::Value & rawJSON)

public inline Role(const nonstd::string_view & json)

public inline bool operator==(Role & right)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< UInt64StrTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::SelectMenu

struct SleepyDiscord::SelectMenu
: public SleepyDiscord::ComponentTemp< SelectMenu >

Summary

MembersDescriptions
public std::string customID
public std::vector< Option>options
public std::string placeholder
public int minValues
public int maxValues
public bool disabled
public SelectMenu() = default
public ~SelectMenu() = default
public SelectMenu(const json::Value & json)
public inline SelectMenu(const nonstd::string_view & json)
public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [SelectMenu>::JSONStruct,std::make_tuple(json::pair(&SelectMenu::customID, "custom_id", json::REQUIRIED_FIELD), json::pair<json::ContainerTypeHelper >(&SelectMenu::options, "options", json::REQUIRIED_FIELD), json::pair(&SelectMenu::placeholder, "placeholder", json::OPTIONAL_FIELD), json::pair< 1 >(&SelectMenu::minValues, "min_values", json::OPTIONAL_FIELD), json::pair< 1 >(&SelectMenu::maxValues, "max_values", json::OPTIONAL_FIELD), json::pair(&SelectMenu::disabled, "disabled", json::OPTIONAL_FIELD)))

Members

public std::string customID

public std::vector< Option>options

public std::string placeholder

public int minValues

public int maxValues

public bool disabled

public SelectMenu() = default

public ~SelectMenu() = default

public SelectMenu(const json::Value & json)

public inline SelectMenu(const nonstd::string_view & json)

public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [SelectMenu>::JSONStruct,std::make_tuple(json::pair(&SelectMenu::customID, "custom_id", json::REQUIRIED_FIELD), json::pair<json::ContainerTypeHelper >(&SelectMenu::options, "options", json::REQUIRIED_FIELD), json::pair(&SelectMenu::placeholder, "placeholder", json::OPTIONAL_FIELD), json::pair< 1 >(&SelectMenu::minValues, "min_values", json::OPTIONAL_FIELD), json::pair< 1 >(&SelectMenu::maxValues, "max_values", json::OPTIONAL_FIELD), json::pair(&SelectMenu::disabled, "disabled", json::OPTIONAL_FIELD)))

struct SleepyDiscord::SendMessageParams

struct SleepyDiscord::SendMessageParams
: public SleepyDiscord::MessageParams< SendMessageParams >

Summary

MembersDescriptions
public bool tts
public MessageReference messageReference
public JSONStructStart std::tuple_cat(MessageParams](#struct_sleepy_discord_1_1_message_params)< [SendMessageParams >::JSONStruct,std::make_tuple(json::pair(&SendMessageParams::tts, "tts", json::OPTIONAL_FIELD), json::pair(&SendMessageParams::messageReference, "message_reference", json::OPTIONAL_FIELD)))

Members

public bool tts

public MessageReference messageReference

public JSONStructStart std::tuple_cat(MessageParams](#struct_sleepy_discord_1_1_message_params)< [SendMessageParams >::JSONStruct,std::make_tuple(json::pair(&SendMessageParams::tts, "tts", json::OPTIONAL_FIELD), json::pair(&SendMessageParams::messageReference, "message_reference", json::OPTIONAL_FIELD)))

struct SleepyDiscord::Server

struct SleepyDiscord::Server
: public SleepyDiscord::IdentifiableDiscordObject< Server >

Summary

MembersDescriptions
public std::string name
public std::string icon
public std::string splash
public std::string discoverySplash
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>ownerID
public Permission permissions
public std::string region
public std::string AFKchannelID
public int AFKTimeout
public bool embedEnable
public std::string embedChannelID
public int verificationLevel
public int defaultMessageNotifications
public int explicitContentFilter
public std::list< Role>roles
public std::list< VoiceState>voiceStates
public std::vector< std::string > features
public bool unavailable
public std::vector< StageInstance>stageInstances
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>systemChannelID
public int systemChannelFlags
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>rulesChannelID
public int MFALevel
public std::string joinedAt
public int maxMembers
public std::string vanityUrlCode
public std::string description
public std::string banner
public int premiumTier
public int premiumSubscriptionCount
public std::string preferredLocale
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>publicUpdatesChannelID
public int maxVideoChannelUsers
public int approximateMemberCount
public int approximatePresenceCount
public int nsfwLevel
public bool large
public int memberCount
public std::list< ServerMember>members
public std::list< Channel>channels
public std::list< Channel>threads
public ~Server() = default
public Server() = default
public inline Server(const nonstd::string_view & json)
public Server(const json::Value & json)
public std::list< ServerMember>::iteratorfindMember(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID)
public std::list< Channel>::iteratorfindChannel(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID)
public std::list< Role>::iteratorfindRole(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< UInt64StrTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public std::string icon

public std::string splash

public std::string discoverySplash

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>ownerID

public Permission permissions

public std::string region

public std::string AFKchannelID

public int AFKTimeout

public bool embedEnable

public std::string embedChannelID

public int verificationLevel

public int defaultMessageNotifications

public int explicitContentFilter

public std::list< Role>roles

public std::list< VoiceState>voiceStates

public std::vector< std::string > features

public bool unavailable

public std::vector< StageInstance>stageInstances

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>applicationID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>systemChannelID

public int systemChannelFlags

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>rulesChannelID

public int MFALevel

public std::string joinedAt

public int maxMembers

public std::string vanityUrlCode

public std::string description

public std::string banner

public int premiumTier

public int premiumSubscriptionCount

public std::string preferredLocale

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>publicUpdatesChannelID

public int maxVideoChannelUsers

public int approximateMemberCount

public int approximatePresenceCount

public int nsfwLevel

public bool large

public int memberCount

public std::list< ServerMember>members

public std::list< Channel>channels

public std::list< Channel>threads

public ~Server() = default

public Server() = default

public inline Server(const nonstd::string_view & json)

public Server(const json::Value & json)

public std::list< ServerMember>::iteratorfindMember(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User > userID)

public std::list< Channel>::iteratorfindChannel(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel > channelID)

public std::list< Role>::iteratorfindRole(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role > roleID)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< UInt64StrTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ServerAppCommandPermissions

struct SleepyDiscord::ServerAppCommandPermissions
: public SleepyDiscord::IdentifiableDiscordObject< AppCommand >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>applicationID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public std::vector< AppCommand::Permissions>permissions
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>applicationID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public std::vector< AppCommand::Permissions>permissions

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::ServerMember

struct SleepyDiscord::ServerMember
: public SleepyDiscord::IdentifiableDiscordObject< User >

Summary

MembersDescriptions
public User user
public std::string nick
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles
public std::string joinedAt
public bool deaf
public bool mute
public Permission permissions
public bool pending
public ServerMember() = default
public inline ServerMember(const nonstd::string_view & json)
public ServerMember(const json::Value & json)
public inline operator User &()
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<UInt64StrTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public User user

public std::string nick

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Role> >roles

public std::string joinedAt

public bool deaf

public bool mute

public Permission permissions

public bool pending

public ServerMember() = default

public inline ServerMember(const nonstd::string_view & json)

public ServerMember(const json::Value & json)

public inline operator User &()

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<UInt64StrTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ServerMembersChunk

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public std::vector< ServerMember>members
public int chunkIndex
public int chunkCount
public std::vector< PresenceUpdate>presences
public std::string nonce
public ServerMembersChunk() = default
public ServerMembersChunk(const json::Value & json)
public inline ServerMembersChunk(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public std::vector< ServerMember>members

public int chunkIndex

public int chunkCount

public std::vector< PresenceUpdate>presences

public std::string nonce

public ServerMembersChunk() = default

public ServerMembersChunk(const json::Value & json)

public inline ServerMembersChunk(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ServerMembersRequest

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public tl::optional< std::string > query
public int limit
public bool presence
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >userIDs
public std::string nonce
public ServerMembersRequest() = default
public ServerMembersRequest(const json::Value & json)
public inline ServerMembersRequest(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::OptionalTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public tl::optional< std::string > query

public int limit

public bool presence

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >userIDs

public std::string nonce

public ServerMembersRequest() = default

public ServerMembersRequest(const json::Value & json)

public inline ServerMembersRequest(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::OptionalTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ServerWidget

struct SleepyDiscord::ServerWidget
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public bool enabled
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public ServerWidget() = default
public inline ServerWidget(const nonstd::string_view & json)
public ServerWidget(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD)

Members

public bool enabled

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public ServerWidget() = default

public inline ServerWidget(const nonstd::string_view & json)

public ServerWidget(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::NULLABLE_FIELD)

struct SleepyDiscord::SessionStartLimit

struct SleepyDiscord::SessionStartLimit
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public int total
public int remaining
public int resetAfter
public int maxConcurency
public SessionStartLimit() = default
public SessionStartLimit(const json::Value & rawJSON)
public inline SessionStartLimit(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public int total

public int remaining

public int resetAfter

public int maxConcurency

public SessionStartLimit() = default

public SessionStartLimit(const json::Value & rawJSON)

public inline SessionStartLimit(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Snowflake

Summary

MembersDescriptions
public Snowflake() = default
public inline Snowflake(const std::string & snow)
public inline Snowflake(const std::string * snow)
public inline Snowflake(const char * snow)
public inline Snowflake(const nonstd::string_view & snow)
public inline Snowflake(const Snowflake & flake)
public inline Snowflake(const DiscordObject & object)
public inline Snowflake(const DiscordObject * object)
public inline Snowflake(const int64_t number)
public inline Snowflake(const json::Value & value)
public ~Snowflake() = default
public inline bool operator==(const Snowflake & right) const
public inline bool operator!=(const Snowflake & right) const
public inline bool operator==(const char * right) const
public inline bool operator!=(const char * right) const
public inline operator const std::string &() const
public inline const std::string & string() const
public inline const int64_t number() const
public inline std::chrono::time_point< std::chrono::steady_clock > timestamp() const
public inline const bool empty() const
public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const
public template<>
inline iterator findObject(iterator begin,iterator end) const
public template<>
inline auto findObject(Container & objects,std::true_type) const
public template<>
inline auto findObject(Container & objects,std::false_type) const
public template<>
inline auto findObject(Container & objects) const
typedef RawType

Members

public Snowflake() = default

public inline Snowflake(const std::string & snow)

public inline Snowflake(const std::string * snow)

public inline Snowflake(const char * snow)

public inline Snowflake(const nonstd::string_view & snow)

public inline Snowflake(const Snowflake & flake)

public inline Snowflake(const DiscordObject & object)

public inline Snowflake(const DiscordObject * object)

public inline Snowflake(const int64_t number)

public inline Snowflake(const json::Value & value)

public ~Snowflake() = default

public inline bool operator==(const Snowflake & right) const

public inline bool operator!=(const Snowflake & right) const

public inline bool operator==(const char * right) const

public inline bool operator!=(const char * right) const

public inline operator const std::string &() const

public inline const std::string & string() const

public inline const int64_t number() const

public inline std::chrono::time_point< std::chrono::steady_clock > timestamp() const

public inline const bool empty() const

public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const

public template<>
inline iterator findObject(iterator begin,iterator end) const

public template<>
inline auto findObject(Container & objects,std::true_type) const

public template<>
inline auto findObject(Container & objects,std::false_type) const

public template<>
inline auto findObject(Container & objects) const

typedef RawType

struct SleepyDiscord::StageInstance

struct SleepyDiscord::StageInstance
: public SleepyDiscord::IdentifiableDiscordObject< StageInstance >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public std::string topic
public PrivacyLevel privacyLevel
public bool discoverableDisabled
public StageInstance() = default
public ~StageInstance() = default
public StageInstance(const json::Value & json)
public inline StageInstance(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
enum PrivacyLevel
typedef PrivacyLevelRaw

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public std::string topic

public PrivacyLevel privacyLevel

public bool discoverableDisabled

public StageInstance() = default

public ~StageInstance() = default

public StageInstance(const json::Value & json)

public inline StageInstance(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

enum PrivacyLevel

ValuesDescriptions
NotSet
PUBLIC
SERVER_ONLY

typedef PrivacyLevelRaw

struct SleepyDiscord::StandardResponse

struct SleepyDiscord::StandardResponse
: public SleepyDiscord::Response

Summary

MembersDescriptions
public inline explicit StandardResponse(const Response & response)

Members

public inline explicit StandardResponse(const Response & response)

struct SleepyDiscord::Sticker

struct SleepyDiscord::Sticker
: public SleepyDiscord::IdentifiableDiscordObject< Sticker >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [StickerPack>packID
public std::string name
public std::string description
public std::string tags
public enum SleepyDiscord::Sticker::Type format
public Sticker() = default
public ~Sticker()
public Sticker(const json::Value & json)
public Sticker(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum Type

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [StickerPack>packID

public std::string name

public std::string description

public std::string tags

public enum SleepyDiscord::Sticker::Type format

public Sticker() = default

public ~Sticker()

public Sticker(const json::Value & json)

public Sticker(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum Type

ValuesDescriptions
NONE
PNG
APNG
LOTTIE

struct SleepyDiscord::StickerPack

struct SleepyDiscord::StickerPack
: public SleepyDiscord::IdentifiableDiscordObject< StickerPack >

Summary

MembersDescriptions
public StickerPack() = default
public ~StickerPack()
public StickerPack(const json::Value & json)
public inline StickerPack(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD)

Members

public StickerPack() = default

public ~StickerPack()

public StickerPack(const json::Value & json)

public inline StickerPack(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::StringResponse

struct SleepyDiscord::StringResponse
: public SleepyDiscord::StandardResponse

Summary

MembersDescriptions
public inline operator const Type &() const
public inline explicit StandardResponse(const Response & response)
typedef Type

Members

public inline operator const Type &() const

public inline explicit StandardResponse(const Response & response)

typedef Type

struct SleepyDiscord::TextInputs

struct SleepyDiscord::TextInputs
: public SleepyDiscord::ComponentTemp< TextInputs >

Summary

MembersDescriptions
public std::string customID
public TextInputStyle style
public std::string label
public int minLength
public int maxLength
public bool required
public std::string value
public std::string placeholder
public TextInputs() = default
public ~TextInputs() = default
public TextInputs(const json::Value & json)
public inline TextInputs(const nonstd::string_view & json)
public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [TextInputs>::JSONStruct,std::make_tuple(json::pair(&TextInputs::customID, "custom_id", json::REQUIRIED_FIELD), json::pair<json::EnumTypeHelper >(&TextInputs::style, "style", json::OPTIONAL_FIELD), json::pair(&TextInputs::label, "label", json::OPTIONAL_FIELD), json::pair< -1 >(&TextInputs::minLength, "min_length", json::OPTIONAL_FIELD), json::pair< -1 >(&TextInputs::maxLength, "max_length", json::OPTIONAL_FIELD), json::pair(&TextInputs::required, "required", json::OPTIONAL_FIELD), json::pair(&TextInputs::value, "value", json::OPTIONAL_FIELD), json::pair(&TextInputs::placeholder, "placeholder", json::OPTIONAL_FIELD)))
typedef Style

Members

public std::string customID

public TextInputStyle style

public std::string label

public int minLength

public int maxLength

public bool required

public std::string value

public std::string placeholder

public TextInputs() = default

public ~TextInputs() = default

public TextInputs(const json::Value & json)

public inline TextInputs(const nonstd::string_view & json)

public JSONStructStart std::tuple_cat(ComponentTemp](#struct_sleepy_discord_1_1_component_temp)< [TextInputs>::JSONStruct,std::make_tuple(json::pair(&TextInputs::customID, "custom_id", json::REQUIRIED_FIELD), json::pair<json::EnumTypeHelper >(&TextInputs::style, "style", json::OPTIONAL_FIELD), json::pair(&TextInputs::label, "label", json::OPTIONAL_FIELD), json::pair< -1 >(&TextInputs::minLength, "min_length", json::OPTIONAL_FIELD), json::pair< -1 >(&TextInputs::maxLength, "max_length", json::OPTIONAL_FIELD), json::pair(&TextInputs::required, "required", json::OPTIONAL_FIELD), json::pair(&TextInputs::value, "value", json::OPTIONAL_FIELD), json::pair(&TextInputs::placeholder, "placeholder", json::OPTIONAL_FIELD)))

typedef Style

struct SleepyDiscord::ThreadListSync

struct SleepyDiscord::ThreadListSync
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> >channelIDs
public std::vector< Channel>threads
public std::vector< ThreadMember>members
public ThreadListSync() = default
public inline ThreadListSync(const nonstd::string_view & json)
public ThreadListSync(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel> >channelIDs

public std::vector< Channel>threads

public std::vector< ThreadMember>members

public ThreadListSync() = default

public inline ThreadListSync(const nonstd::string_view & json)

public ThreadListSync(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ThreadMember

struct SleepyDiscord::ThreadMember
: public SleepyDiscord::IdentifiableDiscordObject< Channel >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>userID
public std::string joinTimestamp
public int flags
public ServerMember member
public ThreadMember() = default
public inline ThreadMember(const nonstd::string_view & json)
public ThreadMember(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>userID

public std::string joinTimestamp

public int flags

public ServerMember member

public ThreadMember() = default

public inline ThreadMember(const nonstd::string_view & json)

public ThreadMember(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::ThreadMembersUpdate

struct SleepyDiscord::ThreadMembersUpdate
: public SleepyDiscord::IdentifiableDiscordObject< Channel >

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public int memberCount
public std::vector< ThreadMember>addedMembers
public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >removedMemberIDs
public ThreadMembersUpdate() = default
public inline ThreadMembersUpdate(const nonstd::string_view & json)
public ThreadMembersUpdate(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public int memberCount

public std::vector< ThreadMember>addedMembers

public std::vector< Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User> >removedMemberIDs

public ThreadMembersUpdate() = default

public inline ThreadMembersUpdate(const nonstd::string_view & json)

public ThreadMembersUpdate(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Timer

Summary

MembersDescriptions
public inline Timer()
public inline Timer(StopTimerFunction stopTimer)
public inline void stop()
public inline bool isValid() const
typedef StopTimerFunction

Members

public inline Timer()

public inline Timer(StopTimerFunction stopTimer)

public inline void stop()

public inline bool isValid() const

typedef StopTimerFunction

struct SleepyDiscord::UInt64StrTypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::UnavailableServer

struct SleepyDiscord::UnavailableServer
: public SleepyDiscord::IdentifiableDiscordObject< Server >

Summary

MembersDescriptions
public AvailableFlag unavailable
public UnavailableServer() = default
public inline UnavailableServer(const nonstd::string_view & json)
public UnavailableServer(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum AvailableFlag

Members

public AvailableFlag unavailable

public UnavailableServer() = default

public inline UnavailableServer(const nonstd::string_view & json)

public UnavailableServer(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum AvailableFlag

ValuesDescriptions
NotSet
Unavaiable
avaiable

struct SleepyDiscord::User

struct SleepyDiscord::User
: public SleepyDiscord::IdentifiableDiscordObject< User >

Summary

MembersDescriptions
public std::string username
public std::string discriminator
public std::string avatar
public bool bot
public bool mfa_enabled
public bool verified
public std::string email
public std::string locale
public Flags flags
public PremiumType premiumType
public Flags publieFlags
public User() = default
public inline User(const nonstd::string_view & json)
public User(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
enum Flags
enum PremiumType

Members

public std::string username

public std::string discriminator

public std::string avatar

public bool bot

public bool mfa_enabled

public bool verified

public std::string email

public std::string locale

public Flags flags

public PremiumType premiumType

public Flags publieFlags

public User() = default

public inline User(const nonstd::string_view & json)

public User(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

enum Flags

ValuesDescriptions
None
Discord_Employee
Discord_Partner
HypeSquad_Events
Bug_Hunter_Level_1
House_Bravery
House_Brilliance
House_Balance
Early_Supporter
Team_User
System
Bug_Hunter_Level_2
Verified_Bot
Verified_Bot_Developer
Discord_Certified_Moderator

enum PremiumType

ValuesDescriptions
None
Nitro_Classic
Nitro

struct SleepyDiscord::VoiceContext

Summary

MembersDescriptions
public friend VoiceConnection
public friend BaseDiscordClient
public inline Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>getChannelID()
public inline Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>getServerID()
public inline bool operator==(const VoiceContext & right)
public inline void setVoiceHandler(BaseVoiceEventHandler * source)
public inline bool hasVoiceHandler()
public inline BaseVoiceEventHandler&getVoiceHandler()
public template<>
inline void startVoiceHandler(Types &&... arguments)

Members

public friend VoiceConnection

public friend BaseDiscordClient

public inline Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>getChannelID()

public inline Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>getServerID()

public inline bool operator==(const VoiceContext & right)

public inline void setVoiceHandler(BaseVoiceEventHandler * source)

public inline bool hasVoiceHandler()

public inline BaseVoiceEventHandler&getVoiceHandler()

public template<>
inline void startVoiceHandler(Types &&... arguments)

struct SleepyDiscord::VoiceRegion

struct SleepyDiscord::VoiceRegion
: public SleepyDiscord::IdentifiableDiscordObject< VoiceRegion >

Summary

MembersDescriptions
public std::string name
public bool vip
public bool optimal
public bool deprecated
public bool custom
public VoiceRegion() = default
public inline VoiceRegion(const nonstd::string_view & json)
public VoiceRegion(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public std::string name

public bool vip

public bool optimal

public bool deprecated

public bool custom

public VoiceRegion() = default

public inline VoiceRegion(const nonstd::string_view & json)

public VoiceRegion(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::VoiceServerUpdate

struct SleepyDiscord::VoiceServerUpdate
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string token
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public std::string endpoint
public VoiceServerUpdate() = default
public inline VoiceServerUpdate(const nonstd::string_view & json)
public VoiceServerUpdate(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public std::string token

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public std::string endpoint

public VoiceServerUpdate() = default

public inline VoiceServerUpdate(const nonstd::string_view & json)

public VoiceServerUpdate(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::VoiceState

struct SleepyDiscord::VoiceState
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>userID
public std::string sessionID
public bool deaf
public bool mute
public bool selfDeaf
public bool selfMute
public bool suppress
public VoiceState() = default
public inline VoiceState(const nonstd::string_view & json)
public VoiceState(const json::Value & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>userID

public std::string sessionID

public bool deaf

public bool mute

public bool selfDeaf

public bool selfMute

public bool suppress

public VoiceState() = default

public inline VoiceState(const nonstd::string_view & json)

public VoiceState(const json::Value & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::Webhook

struct SleepyDiscord::Webhook
: public SleepyDiscord::IdentifiableDiscordObject< Webhook >

Summary

MembersDescriptions
public WebhookType type
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID
public User user
public std::string name
public std::string avatar
public std::string token
public Webhook() = default
public Webhook(const json::Value & json)
public inline Webhook(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)
enum WebhookType

Members

public WebhookType type

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Server>serverID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [Channel>channelID

public User user

public std::string name

public std::string avatar

public std::string token

public Webhook() = default

public Webhook(const json::Value & json)

public inline Webhook(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::NULLABLE_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

enum WebhookType

ValuesDescriptions
INCOMING
CHANNEL_FOLLOWER

struct SleepyDiscord::WebHookParams

struct SleepyDiscord::WebHookParams
: public SleepyDiscord::BaseWebHookParams< WebHookParams >

Summary

MembersDescriptions
public std::string username
public std::string avatarURL
public bool tts
public JSONStructStart std::tuple_cat(BaseWebHookParams](#struct_sleepy_discord_1_1_base_web_hook_params)< [WebHookParams >::JSONStruct,std::make_tuple(json::pair(&WebHookParams::username, "username", json::OPTIONAL_FIELD), json::pair(&WebHookParams::avatarURL, "avatar_url", json::OPTIONAL_FIELD)))

Members

public std::string username

public std::string avatarURL

public bool tts

public JSONStructStart std::tuple_cat(BaseWebHookParams](#struct_sleepy_discord_1_1_base_web_hook_params)< [WebHookParams >::JSONStruct,std::make_tuple(json::pair(&WebHookParams::username, "username", json::OPTIONAL_FIELD), json::pair(&WebHookParams::avatarURL, "avatar_url", json::OPTIONAL_FIELD)))

struct SleepyDiscord::WebSocketMessage

Summary

MembersDescriptions
public OPCodeType opCode
public const std::string & payload
public std::shared_ptr< void > lifetime
enum OPCode
typedef OPCodeType

Members

public OPCodeType opCode

public const std::string & payload

public std::shared_ptr< void > lifetime

enum OPCode

ValuesDescriptions
continuation
text
binary
close
ping
pong

typedef OPCodeType

namespace SleepyDiscord::InteractionCallback

Summary

MembersDescriptions
struct SleepyDiscord::InteractionCallback::Autocomplete
struct SleepyDiscord::InteractionCallback::BaseData
struct SleepyDiscord::InteractionCallback::EditMessage
struct SleepyDiscord::InteractionCallback::EmptyData
struct SleepyDiscord::InteractionCallback::Message
struct SleepyDiscord::InteractionCallback::Modal

struct SleepyDiscord::InteractionCallback::Autocomplete

struct SleepyDiscord::InteractionCallback::Autocomplete
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::vector< AppCommand::Option::Choice>choices
public Autocomplete() = default
public Autocomplete(json::Value & json)
public inline Autocomplete(const nonstd::string_view & json)
public inline bool empty() const
public JSONStructStart std::make_tuple(json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

Members

public std::vector< AppCommand::Option::Choice>choices

public Autocomplete() = default

public Autocomplete(json::Value & json)

public inline Autocomplete(const nonstd::string_view & json)

public inline bool empty() const

public JSONStructStart std::make_tuple(json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

struct SleepyDiscord::InteractionCallback::BaseData

struct SleepyDiscord::InteractionCallback::BaseData
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions

Members

struct SleepyDiscord::InteractionCallback::EditMessage

struct SleepyDiscord::InteractionCallback::EditMessage
: public SleepyDiscord::BaseEditWebhookParams< EditWebhookParams >

Summary

MembersDescriptions
public Message::Flags flags
public EditMessage() = default
public EditMessage(json::Value & json)
public inline EditMessage(const nonstd::string_view & json)
public inline const bool empty() const
public JSONStructStart std::tuple_cat(BaseEditWebhookParams](#struct_sleepy_discord_1_1_base_edit_webhook_params)< [EditWebhookParams>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&EditMessage::flags, "flags", json::OPTIONAL_FIELD)))

Members

public Message::Flags flags

public EditMessage() = default

public EditMessage(json::Value & json)

public inline EditMessage(const nonstd::string_view & json)

public inline const bool empty() const

public JSONStructStart std::tuple_cat(BaseEditWebhookParams](#struct_sleepy_discord_1_1_base_edit_webhook_params)< [EditWebhookParams>::JSONStruct,std::make_tuple(json::pair<json::EnumTypeHelper >(&EditMessage::flags, "flags", json::OPTIONAL_FIELD)))

struct SleepyDiscord::InteractionCallback::EmptyData

struct SleepyDiscord::InteractionCallback::EmptyData
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public EmptyData() = default
public EmptyData(json::Value & json)
public inline EmptyData(const nonstd::string_view & json)
public inline const bool empty() const
public JSONStructStart std::make_tuple()

Members

public EmptyData() = default

public EmptyData(json::Value & json)

public inline EmptyData(const nonstd::string_view & json)

public inline const bool empty() const

public JSONStructStart std::make_tuple()

struct SleepyDiscord::InteractionCallback::Message

struct SleepyDiscord::InteractionCallback::Message
: public SleepyDiscord::WebHookParams

Summary

MembersDescriptions
public bool tts
public enum SleepyDiscord::InteractionCallback::Message::Flags flags
public Message() = default
public Message(json::Value & json)
public inline Message(const nonstd::string_view & json)
public inline const bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)
enum Flags

Members

public bool tts

public enum SleepyDiscord::InteractionCallback::Message::Flags flags

public Message() = default

public Message(json::Value & json)

public inline Message(const nonstd::string_view & json)

public inline const bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair< json::ContainerTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair<json::EnumTypeHelper> &::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD)

enum Flags

ValuesDescriptions
UNDEFINED
NONE
Ephemeral

struct SleepyDiscord::InteractionCallback::Modal

struct SleepyDiscord::InteractionCallback::Modal
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string customID
public std::string title
public std::vector< std::shared_ptr< BaseComponent> >components
public Modal() = default
public Modal(json::Value & json)
public inline Modal(const nonstd::string_view & json)
public inline const bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

Members

public std::string customID

public std::string title

public std::vector< std::shared_ptr< BaseComponent> >components

public Modal() = default

public Modal(json::Value & json)

public inline Modal(const nonstd::string_view & json)

public inline const bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD)

namespace SleepyDiscord::json

Summary

MembersDescriptions
struct SleepyDiscord::json::ArrayStringWrapper
struct SleepyDiscord::json::ArrayValueWrapper
struct SleepyDiscord::json::ArrayValueWrapper< Type, typename std::enable_if< std::is_constructible< Type, const Value >::value >::type >
struct SleepyDiscord::json::ArrayValueWrapper< Type, typename std::enable_if< std::is_constructible< Type, Value >::value >::type >
struct SleepyDiscord::json::ArrayWrapper
struct SleepyDiscord::json::ArrayWrapper< Value, Base >
struct SleepyDiscord::json::BaseEnumTypeHelper
struct SleepyDiscord::json::ClassTypeHelper
struct SleepyDiscord::json::ClassTypeHelper< bool >
struct SleepyDiscord::json::ClassTypeHelper< double >
struct SleepyDiscord::json::ClassTypeHelper< float >
struct SleepyDiscord::json::ClassTypeHelper< int >
struct SleepyDiscord::json::ClassTypeHelper< int64_t >
struct SleepyDiscord::json::ClassTypeHelper< nonstd::string_view >
struct SleepyDiscord::json::ClassTypeHelper< std::nullptr_t >
struct SleepyDiscord::json::ClassTypeHelper< std::shared_ptr< BaseComponent > >
struct SleepyDiscord::json::ClassTypeHelper< std::string >
struct SleepyDiscord::json::ClassTypeHelper< uint32_t >
struct SleepyDiscord::json::ClassTypeHelper< uint64_t >
struct SleepyDiscord::json::ClassTypeHelper< Value >
struct SleepyDiscord::json::ComplexPair
struct SleepyDiscord::json::ContainerTypeHelper
struct SleepyDiscord::json::EmptyFunction
struct SleepyDiscord::json::EnumTypeHelper
struct SleepyDiscord::json::FromContainerFunction
struct SleepyDiscord::json::hasIsType
struct SleepyDiscord::json::hasSerialize
struct SleepyDiscord::json::IsArrayFunction
struct SleepyDiscord::json::IsBoolFunction
struct SleepyDiscord::json::IsNumberFunction
struct SleepyDiscord::json::IsObjectFunction
struct SleepyDiscord::json::IsPrimitiveTypeFunction
struct SleepyDiscord::json::IsPrimitiveTypeFunction< bool >
struct SleepyDiscord::json::IsStringFunction
struct SleepyDiscord::json::MapTypeHelper
struct SleepyDiscord::json::MaybeTypeHelper
struct SleepyDiscord::json::NullableTypeHelper
struct SleepyDiscord::json::OptionalTypeHelper
struct SleepyDiscord::json::PairImpl
struct SleepyDiscord::json::PrimitiveTypeHelper
struct SleepyDiscord::json::SmartPtrTypeHelper
struct SleepyDiscord::json::StdArrayTypeHelper
struct SleepyDiscord::json::ToContainerFunction

struct SleepyDiscord::json::ArrayStringWrapper

Summary

MembersDescriptions
public Value & json
public inline ArrayStringWrapper(Value & json)
public inline Value & getDoc() const
public inline operator Value &() const
public template<>
inline const bool getDoc(const Callback & callback) const

Members

public Value & json

public inline ArrayStringWrapper(Value & json)

public inline Value & getDoc() const

public inline operator Value &() const

public template<>
inline const bool getDoc(const Callback & callback) const

struct SleepyDiscord::json::ArrayValueWrapper

Summary

MembersDescriptions
typedef value
typedef type

Members

typedef value

typedef type

struct SleepyDiscord::json::ArrayValueWrapper< Type, typename std::enable_if< std::is_constructible< Type, const Value >::value >::type >

Summary

MembersDescriptions
typedef value
typedef type

Members

typedef value

typedef type

struct SleepyDiscord::json::ArrayValueWrapper< Type, typename std::enable_if< std::is_constructible< Type, Value >::value >::type >

Summary

MembersDescriptions
typedef value
typedef type

Members

typedef value

typedef type

struct SleepyDiscord::json::ArrayWrapper

struct SleepyDiscord::json::ArrayWrapper
: public typename ArrayValueWrapper::type

Summary

MembersDescriptions
public template<>
inline Container get()
public template<>
inline Container< Type > get()
public template<>
inline bool get(Container & value)
public template<>
inline bool get(Container< Type > & value)
public inline std::vector< TypeToConvertTo > vector()
public inline std::list< TypeToConvertTo > list()
public inline TypeToConvertTo * cArray()
public inline operator Values()
public inline operator std::vector< TypeToConvertTo >()
public inline operator std::list< TypeToConvertTo >()
typedef base
typedef DocType

Members

public template<>
inline Container get()

public template<>
inline Container< Type > get()

public template<>
inline bool get(Container & value)

public template<>
inline bool get(Container< Type > & value)

public inline std::vector< TypeToConvertTo > vector()

public inline std::list< TypeToConvertTo > list()

public inline TypeToConvertTo * cArray()

public inline operator Values()

public inline operator std::vector< TypeToConvertTo >()

public inline operator std::list< TypeToConvertTo >()

typedef base

typedef DocType

struct SleepyDiscord::json::ArrayWrapper< Value, Base >

struct SleepyDiscord::json::ArrayWrapper< Value, Base >
: public Base

Summary

MembersDescriptions
public inline operator Values()

Members

public inline operator Values()

struct SleepyDiscord::json::BaseEnumTypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper

struct SleepyDiscord::json::ClassTypeHelper
: public SleepyDiscord::json::EmptyFunction< Type >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< bool >

struct SleepyDiscord::json::ClassTypeHelper< bool >
: public SleepyDiscord::json::PrimitiveTypeHelper< bool >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< double >

struct SleepyDiscord::json::ClassTypeHelper< double >
: public SleepyDiscord::json::PrimitiveTypeHelper< double >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< float >

struct SleepyDiscord::json::ClassTypeHelper< float >
: public SleepyDiscord::json::PrimitiveTypeHelper< float >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< int >

struct SleepyDiscord::json::ClassTypeHelper< int >
: public SleepyDiscord::json::PrimitiveTypeHelper< int >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< int64_t >

struct SleepyDiscord::json::ClassTypeHelper< int64_t >
: public SleepyDiscord::json::PrimitiveTypeHelper< int64_t >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< nonstd::string_view >

struct SleepyDiscord::json::ClassTypeHelper< nonstd::string_view >
: public SleepyDiscord::json::EmptyFunction< nonstd::string_view >
: public SleepyDiscord::json::IsStringFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< std::nullptr_t >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< std::shared_ptr< BaseComponent > >

Summary

MembersDescriptions
typedef Base
typedef Type

Members

typedef Base

typedef Type

struct SleepyDiscord::json::ClassTypeHelper< std::string >

struct SleepyDiscord::json::ClassTypeHelper< std::string >
: public SleepyDiscord::json::EmptyFunction< std::string >
: public SleepyDiscord::json::IsStringFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< uint32_t >

struct SleepyDiscord::json::ClassTypeHelper< uint32_t >
: public SleepyDiscord::json::PrimitiveTypeHelper< uint32_t >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< uint64_t >

struct SleepyDiscord::json::ClassTypeHelper< uint64_t >
: public SleepyDiscord::json::PrimitiveTypeHelper< uint64_t >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ClassTypeHelper< Value >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ComplexPair

Summary

MembersDescriptions
typedef ComplexTypeHelper

Members

typedef ComplexTypeHelper

struct SleepyDiscord::json::ContainerTypeHelper

struct SleepyDiscord::json::ContainerTypeHelper
: public SleepyDiscord::json::ToContainerFunction< Container, TypeHelper >
: public SleepyDiscord::json::EmptyFunction< Container >
: public SleepyDiscord::json::FromContainerFunction< Container, TypeHelper >
: public SleepyDiscord::json::IsArrayFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::EmptyFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::EnumTypeHelper

struct SleepyDiscord::json::EnumTypeHelper
: public SleepyDiscord::json::BaseEnumTypeHelper< Type, GetDefault< Type >, GetEnumBaseType< Type >::Value >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::FromContainerFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::hasIsType

Summary

MembersDescriptions
typedef type

Members

typedef type

struct SleepyDiscord::json::hasSerialize

Summary

MembersDescriptions
typedef type

Members

typedef type

struct SleepyDiscord::json::IsArrayFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsBoolFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsNumberFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsObjectFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsPrimitiveTypeFunction

struct SleepyDiscord::json::IsPrimitiveTypeFunction
: public SleepyDiscord::json::IsNumberFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsPrimitiveTypeFunction< bool >

struct SleepyDiscord::json::IsPrimitiveTypeFunction< bool >
: public SleepyDiscord::json::IsBoolFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::IsStringFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::MapTypeHelper

struct SleepyDiscord::json::MapTypeHelper
: public SleepyDiscord::json::EmptyFunction< Map >
: public SleepyDiscord::json::IsObjectFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::MaybeTypeHelper

struct SleepyDiscord::json::MaybeTypeHelper
: public SleepyDiscord::json::EmptyFunction< MaybeType >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::NullableTypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::OptionalTypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::PairImpl

Summary

MembersDescriptions
public Type Class::* member
public const char * name
public const FieldType type
typedef T
typedef Helper

Members

public Type Class::* member

public const char * name

public const FieldType type

typedef T

typedef Helper

struct SleepyDiscord::json::PrimitiveTypeHelper

struct SleepyDiscord::json::PrimitiveTypeHelper
: public SleepyDiscord::json::IsPrimitiveTypeFunction< PrimitiveType >

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::SmartPtrTypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::StdArrayTypeHelper

struct SleepyDiscord::json::StdArrayTypeHelper
: public SleepyDiscord::json::EmptyFunction< StdArray >
: public SleepyDiscord::json::FromContainerFunction< StdArray, TypeHelper >
: public SleepyDiscord::json::IsArrayFunction

Summary

MembersDescriptions

Members

struct SleepyDiscord::json::ToContainerFunction

Summary

MembersDescriptions

Members

namespace std

Summary

MembersDescriptions
struct std::hash< SleepyDiscord::Snowflake< DiscordObject > >

struct std::hash< SleepyDiscord::Snowflake< DiscordObject > >

Summary

MembersDescriptions
public inline size_t operator()(const SleepyDiscord::Snowflake< DiscordObject > & snowflake) const

Members

public inline size_t operator()(const SleepyDiscord::Snowflake< DiscordObject > & snowflake) const

class SleepyDiscord::Cache::const_iterator

Summary

MembersDescriptions
public inline const_iterator(Value iter)
public inline self_type operator++()
public inline self_type operator++(int junk)
public inline reference operator*()
public inline pointer operator->()
public inline bool operator==(const self_type & right)
public inline bool operator!=(const self_type & right)
public inline Value getParent()
typedef Value
typedef self_type
typedef value_type
typedef reference
typedef pointer
typedef iterator_category
typedef difference_type

Members

public inline const_iterator(Value iter)

public inline self_type operator++()

public inline self_type operator++(int junk)

public inline reference operator*()

public inline pointer operator->()

public inline bool operator==(const self_type & right)

public inline bool operator!=(const self_type & right)

public inline Value getParent()

typedef Value

typedef self_type

typedef value_type

typedef reference

typedef pointer

typedef iterator_category

typedef difference_type

class SleepyDiscord::RateLimiter::HandleAwaitAfterRequest

Summary

MembersDescriptions
public inline HandleAwaitAfterRequest(RateLimiter::RateLimit & limit)
public inline ~HandleAwaitAfterRequest()

Members

public inline HandleAwaitAfterRequest(RateLimiter::RateLimit & limit)

public inline ~HandleAwaitAfterRequest()

class SleepyDiscord::Cache::iterator

Summary

MembersDescriptions
public inline iterator(Value iter)
public inline self_type operator++()
public inline self_type operator++(int junk)
public inline reference operator*()
public inline pointer operator->()
public inline bool operator==(const self_type & right)
public inline bool operator!=(const self_type & right)
public inline operator const_iterator()
public inline Value getParent()
typedef Value
typedef self_type
typedef value_type
typedef reference
typedef pointer
typedef iterator_category
typedef difference_type

Members

public inline iterator(Value iter)

public inline self_type operator++()

public inline self_type operator++(int junk)

public inline reference operator*()

public inline pointer operator->()

public inline bool operator==(const self_type & right)

public inline bool operator!=(const self_type & right)

public inline operator const_iterator()

public inline Value getParent()

typedef Value

typedef self_type

typedef value_type

typedef reference

typedef pointer

typedef iterator_category

typedef difference_type

struct SleepyDiscord::AppCommand::Option::Choice

struct SleepyDiscord::AppCommand::Option::Choice
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public json::Value value
public Choice() = default
public Choice(json::Value & json)
public inline Choice(const nonstd::string_view & json)
public template<>
inline const Type get()
public template<>
inline const bool get(Type & target)
public template<>
inline void setCopy(Type & val)
public template<>
inline void setView(Type & val)
public inline Choice copy()
public template<>
inline void set(Type & val)
public JSONStructStart std::make_tuple(json::pair &::::::, "", ::REQUIRIED_FIELD,json::pair &::::::, "", ::REQUIRIED_FIELD)
public template<>
inline void set(decltype(nullptr)&)

Members

public std::string name

public json::Value value

public Choice() = default

public Choice(json::Value & json)

public inline Choice(const nonstd::string_view & json)

public template<>
inline const Type get()

public template<>
inline const bool get(Type & target)

public template<>
inline void setCopy(Type & val)

public template<>
inline void setView(Type & val)

public inline Choice copy()

public template<>
inline void set(Type & val)

public JSONStructStart std::make_tuple(json::pair &::::::, "", ::REQUIRIED_FIELD,json::pair &::::::, "", ::REQUIRIED_FIELD)

public template<>
inline void set(decltype(nullptr)&)

struct SleepyDiscord::ASIOWebSocketConnection::CloseRequest

Summary

MembersDescriptions
public std::shared_ptr< asio::steady_timer > timeout

Members

public std::shared_ptr< asio::steady_timer > timeout

struct SleepyDiscord::InteractionData::ResolvedData::Data

Summary

MembersDescriptions
public json::Value data
public Data() = default
public inline Data(json::Value & json)
public inline Data(const nonstd::string_view & json)
public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const
public inline const bool empty() const
public inline json::Value::MemberIterator find(const Identifier & ID)
public inline json::Value::MemberIterator find(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & ID)
public inline json::Value::MemberIterator end()
public inline Type cast(json::Value::MemberIterator & member)
public inline const bool find(const Identifier & ID,Type & object)
public inline const bool find(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & ID,Type & object)
public inline std::unordered_map< Identifier, Type > createUnorderedMap()
typedef JSONTypeHelper
typedef Identifier

Members

public json::Value data

public Data() = default

public inline Data(json::Value & json)

public inline Data(const nonstd::string_view & json)

public inline json::Value serialize(typename json::Value::AllocatorType & alloc) const

public inline const bool empty() const

public inline json::Value::MemberIterator find(const Identifier & ID)

public inline json::Value::MemberIterator find(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & ID)

public inline json::Value::MemberIterator end()

public inline Type cast(json::Value::MemberIterator & member)

public inline const bool find(const Identifier & ID,Type & object)

public inline const bool find(const Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject > & ID,Type & object)

public inline std::unordered_map< Identifier, Type > createUnorderedMap()

typedef JSONTypeHelper

typedef Identifier

struct SleepyDiscord::ASIOWebSocketConnection::EventReceiver

Summary

MembersDescriptions
public std::function< void(std::vector< uint8_t > data)> onMessage
public std::function< void(uint16_t code, std::string reason)> onClose
public std::function< void()> onOpen
public template<>
inline void setOnMessage(OnMessageFunc callback)
public template<>
inline void setOnClose(OnCloseFunc callback)
public template<>
inline void setOnOpen(OnOpenFunc callback)

Members

public std::function< void(std::vector< uint8_t > data)> onMessage

public std::function< void(uint16_t code, std::string reason)> onClose

public std::function< void()> onOpen

public template<>
inline void setOnMessage(OnMessageFunc callback)

public template<>
inline void setOnClose(OnCloseFunc callback)

public template<>
inline void setOnOpen(OnOpenFunc callback)

struct SleepyDiscord::ASIOWebSocketConnection::Frame

Summary

MembersDescriptions
public bool isFin
public int8_t opCode
public bool hasMask
public int8_t length7Bit
public std::size_t maskLength

Members

public bool isFin

public int8_t opCode

public bool hasMask

public int8_t length7Bit

public std::size_t maskLength

struct SleepyDiscord::Snowflake::HasAFindFunction

Summary

MembersDescriptions
typedef SuccessType
typedef FailureType

Members

typedef SuccessType

typedef FailureType

struct SleepyDiscord::BaseDiscordClient::Heartbeat

Summary

MembersDescriptions
public HeartbeatBuffer buffer
public std::size_t length

Members

public HeartbeatBuffer buffer

public std::size_t length

struct SleepyDiscord::Message::Interaction

struct SleepyDiscord::Message::Interaction
: public SleepyDiscord::IdentifiableDiscordObject< Interaction >

Summary

MembersDescriptions
public InteractionType type
public std::string name
public User user
public Interaction() = default
public ~Interaction() = default
public Interaction(const json::Value & json)
public inline Interaction(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public InteractionType type

public std::string name

public User user

public Interaction() = default

public ~Interaction() = default

public Interaction(const json::Value & json)

public inline Interaction(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Snowflake::HasAFindFunction::Magic

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option

struct SleepyDiscord::AppCommand::Option
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Type type
public std::string name
public std::string description
public Default isDefault
public bool isRequired
public std::vector< Choice>choices
public std::vector< Option>options
public std::vector< Channel::ChannelType > channelTypes
public double minValue
public double maxValue
public bool autocomplete
public Option() = default
public Option(json::Value & json)
public inline Option(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper> &::::, "", ::REQUIRIED_FIELD,json::pair &::::, "", ::REQUIRIED_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)
enum Type
enum Default

Members

public Type type

public std::string name

public std::string description

public Default isDefault

public bool isRequired

public std::vector< Choice>choices

public std::vector< Option>options

public std::vector< Channel::ChannelType > channelTypes

public double minValue

public double maxValue

public bool autocomplete

public Option() = default

public Option(json::Value & json)

public inline Option(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper> &::::, "", ::REQUIRIED_FIELD,json::pair &::::, "", ::REQUIRIED_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper> &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)

enum Type

ValuesDescriptions
NONE
SUB_COMMAND
SUB_COMMAND_GROUP
STRING
INTEGER
BOOLEAN
USER
CHANNEL
ROLE
MENTIONABLE
NUMBER

enum Default

ValuesDescriptions
True
False
Undefined

struct SleepyDiscord::InteractionData::Option

struct SleepyDiscord::InteractionData::Option
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string name
public AppCommand::Option::Type type
public json::Value value
public std::vector< Option>options
public bool focused
public Option() = default
public Option(json::Value & json)
public inline Option(const nonstd::string_view & json)
public template<>
inline Type get()
public template<>
inline bool get(Type & target)
public JSONStructStart std::make_tuple(json::pair &::::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)

Members

public std::string name

public AppCommand::Option::Type type

public json::Value value

public std::vector< Option>options

public bool focused

public Option() = default

public Option(json::Value & json)

public inline Option(const nonstd::string_view & json)

public template<>
inline Type get()

public template<>
inline bool get(Type & target)

public JSONStructStart std::make_tuple(json::pair &::::, "", ::OPTIONAL_FIELD,json::pair< json::EnumTypeHelper> &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair<json::ContainerTypeHelper > &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::SelectMenu::Option

struct SleepyDiscord::SelectMenu::Option
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public std::string label
public std::string value
public std::string description
public Emoji emoji
public bool isDefault
public Option() = default
public ~Option() = default
public Option(const json::Value & rawJSON)
public inline Option(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public std::string label

public std::string value

public std::string description

public Emoji emoji

public bool isDefault

public Option() = default

public ~Option() = default

public Option(const json::Value & rawJSON)

public inline Option(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::AppCommand::Permissions

struct SleepyDiscord::AppCommand::Permissions
: public SleepyDiscord::IdentifiableDiscordObject< DiscordObject >

Summary

MembersDescriptions
public Permissions::Type Type
public bool Permission
public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)
enum Type

Members

public Permissions::Type Type

public bool Permission

public JSONStructStart std::make_tuple(json::pair &::, "", ::REQUIRIED_FIELD,json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD,json::pair &::, "", ::REQUIRIED_FIELD)

enum Type

ValuesDescriptions
ROLE
USER

struct SleepyDiscord::RateLimiter::RateLimit

Summary

MembersDescriptions
public inline void doWaitingRequest()

Members

public inline void doWaitingRequest()

struct SleepyDiscord::BaseDiscordClient::RawRequestModeTypeHelper

Summary

MembersDescriptions
typedef ReturnType

Members

typedef ReturnType

struct SleepyDiscord::BaseDiscordClient::Request

Summary

MembersDescriptions
public BaseDiscordClient&client
public const RequestMethod method
public const Route url
public const std::string jsonParameters
public const std::vector< Part>multipartParameters
public const BaseDiscordClient::RequestCallback callback
public RequestMode mode
public inline void operator()() const

Members

public BaseDiscordClient&client

public const RequestMethod method

public const Route url

public const std::string jsonParameters

public const std::vector< Part>multipartParameters

public const BaseDiscordClient::RequestCallback callback

public RequestMode mode

public inline void operator()() const

struct SleepyDiscord::BaseDiscordClient::RequestModeType

struct SleepyDiscord::BaseDiscordClient::RequestModeType
: public SleepyDiscord::BaseDiscordClient::RawRequestModeTypeHelper< Sync, void >

Summary

MembersDescriptions

Members

struct SleepyDiscord::BaseDiscordClient::RequestModeType< Async >

struct SleepyDiscord::BaseDiscordClient::RequestModeType< Async >
: public SleepyDiscord::BaseDiscordClient::RawRequestModeTypeHelper< Async, void >

Summary

MembersDescriptions
public RequestModeRequestDefine

Members

public RequestModeRequestDefine

struct SleepyDiscord::BaseDiscordClient::RequestModeType< Sync >

struct SleepyDiscord::BaseDiscordClient::RequestModeType< Sync >
: public SleepyDiscord::BaseDiscordClient::RawRequestModeTypeHelper< Sync, Request >

Summary

MembersDescriptions
public RequestModeRequestDefine

Members

public RequestModeRequestDefine

struct SleepyDiscord::BaseDiscordClient::RequestSettings

Summary

MembersDescriptions
public RequestMode mode
public Callback callback
public inline RequestSettings(RequestMode r)
public inline RequestSettings(Callback c)
public inline RequestSettings(RequestMode r,Callback c)
public inline RequestSettings()
typedef ParmType
typedef Callback

Members

public RequestMode mode

public Callback callback

public inline RequestSettings(RequestMode r)

public inline RequestSettings(Callback c)

public inline RequestSettings(RequestMode r,Callback c)

public inline RequestSettings()

typedef ParmType

typedef Callback

struct SleepyDiscord::InteractionData::ResolvedData

struct SleepyDiscord::InteractionData::ResolvedData
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [User>users
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [ServerMember>members
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Role>roles
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Channel>channels
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Message>messages
public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Attachment>attachment
public ResolvedData() = default
public ResolvedData(json::Value & json)
public inline ResolvedData(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)

Members

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [User>users

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [ServerMember>members

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Role>roles

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Channel>channels

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Message>messages

public Data](#struct_sleepy_discord_1_1_interaction_data_1_1_resolved_data_1_1_data)< [Attachment>attachment

public ResolvedData() = default

public ResolvedData(json::Value & json)

public inline ResolvedData(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD,json::pair &::::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::Interaction::Response

struct SleepyDiscord::Interaction::Response
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Type type
public DataType data
public Response() = default
public inline Response(json::Value & json)
public inline Response(const nonstd::string_view & json)
public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper > &::< >::, "", ::REQUIRIED_FIELD,json::pair &::< >::, "", ::OPTIONAL_FIELD)
typedef Type
typedef DataType

Members

public Type type

public DataType data

public Response() = default

public inline Response(json::Value & json)

public inline Response(const nonstd::string_view & json)

public JSONStructStart std::make_tuple(json::pair< json::EnumTypeHelper > &::< >::, "", ::REQUIRIED_FIELD,json::pair &::< >::, "", ::OPTIONAL_FIELD)

typedef Type

typedef DataType

struct SleepyDiscord::Role::Tags

struct SleepyDiscord::Role::Tags
: public SleepyDiscord::DiscordObject

Summary

MembersDescriptions
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>botID
public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>integrationID
public Tags() = default
public inline ~Tags()
public Tags(const json::Value & rawJSON)
public inline Tags(const nonstd::string_view & json)
public inline const bool empty() const
public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

Members

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [User>botID

public Snowflake](#struct_sleepy_discord_1_1_snowflake)< [DiscordObject>integrationID

public Tags() = default

public inline ~Tags()

public Tags(const json::Value & rawJSON)

public inline Tags(const nonstd::string_view & json)

public inline const bool empty() const

public JSONStructStart std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD,json::pair &::, "", ::OPTIONAL_FIELD)

struct SleepyDiscord::AppCommand::Option::TypeHelper

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< bool, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< bool, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::BOOLEAN, bool >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< Channel, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< Channel, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::CHANNEL, Channel >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< const char *, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< const char *, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::STRING, std::string >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< Int, typename isInt< Int >::type >

struct SleepyDiscord::AppCommand::Option::TypeHelper< Int, typename isInt< Int >::type >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::INTEGER, Int >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< Num, typename isNum< Num >::type >

struct SleepyDiscord::AppCommand::Option::TypeHelper< Num, typename isNum< Num >::type >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::NUMBER, Num >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< Role, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< Role, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::ROLE, Role >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< std::string, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< std::string, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::STRING, std::string >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelper< User, void >

struct SleepyDiscord::AppCommand::Option::TypeHelper< User, void >
: public SleepyDiscord::AppCommand::Option::TypeHelperImpl< Type::USER, User >

Summary

MembersDescriptions

Members

struct SleepyDiscord::AppCommand::Option::TypeHelperImpl

Summary

MembersDescriptions

Members

Generated by Moxygen