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

Function data for repeated functions to be loaded. More...

#include <Utilities.hpp>

Public Data Members

std::function< void(DiscordCoreClient *)> function { nullptr }
 The std::function pointer to be loaded.
 
uint32_t intervalInMs { 0 }
 The time interval at which to call the std::function.
 
bool repeated { false }
 Whether or not the std::function is repeating.
 

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