DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::DiscordCoreClientConfig Struct Reference

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.
 
std::string connectionPort {}
 A potentially alternative connection port for the websocket.
 
std::vector< RepeatedFunctionDatafunctionsToExecute {}
 Functions to execute after a timer, or on a repetition.
 
LoggingOptions logOptions {}
 Options for the output/logging of the library.
 
DiscordCoreInternal::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?
 
GatewayIntents theIntents { GatewayIntents::All_Intents }
 The gateway intents to be used for this instance.
 

The documentation for this struct was generated from the following file: