![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Configuration data for the library's main class, DiscordCoreClient. More...
#include <Utilities.hpp>
Public Data Members | |
std::string | botToken {} |
Your bot's token. | |
CacheOptions | cacheOptions {} |
Options for the cache of the library. | |
std::string | connectionAddress {} |
A potentially alternative connection address for the websocket. | |
uint16_t | connectionPort {} |
A potentially alternative connection port for the websocket. | |
std::vector< RepeatedFunctionData > | functionsToExecute {} |
Functions to execute after a timer, or on a repetition. | |
GatewayIntents | intents { GatewayIntents::All_Intents } |
The gateway intents to be used for this instance. | |
LoggingOptions | logOptions {} |
Options for the output/logging of the library. | |
UpdatePresenceData | presenceData {} |
Presence data to initialize your bot with. | |
ShardingOptions | shardOptions {} |
Options for the sharding of your bot. | |
TextFormat | textFormat { TextFormat::Etf } |
Use ETF or JSON format for websocket transfer? | |