![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For utility classes/functions. More...
Namespaces | |
namespace | DiscordCoreAPI::Colors |
Color constants for use in the EmbedData color values. | |
Classes and Structures | |
struct | DiscordCoreAPI::BaseFunction |
Base class for the command classes. More... | |
struct | DiscordCoreAPI::BaseFunctionArguments |
Base arguments for the command classes. More... | |
class | DiscordCoreAPI::ButtonCollector |
ButtonCollector, for collecting button input from one or more Users. More... | |
struct | DiscordCoreAPI::ButtonResponseData |
Button response data. More... | |
class | DiscordCoreAPI::CommandData |
Command data, for functions executed by the CommandController. More... | |
class | DiscordCoreAPI::CoRoutine< RTy > |
A CoRoutine - representing a potentially asynchronous operation/function. More... | |
class | DiscordCoreAPI::CoRoutine< void > |
A CoRoutine - representing a potentially asynchronous operation/function. More... | |
struct | DiscordCoreAPI::CoRoutineError |
An error type for CoRoutines. More... | |
class | DiscordCoreAPI::ModalCollector |
ModalCollector, for collecting modal text input from one or more Users. More... | |
struct | DiscordCoreAPI::ModalResponseData |
Button response data. More... | |
class | DiscordCoreAPI::NewThreadAwaiter< RTy > |
An awaitable that can be used to launch the CoRoutine onto a new thread - as well as return the handle for stoppping its execution. More... | |
class | DiscordCoreAPI::SelectMenuCollector |
SelectMenuCollector, for collecting select-menu input from one or more Users. More... | |
struct | DiscordCoreAPI::SelectMenuResponseData |
Select menu response data. More... | |
Enumerations | |
enum class | DiscordCoreAPI::CoRoutineStatus { DiscordCoreAPI::CoRoutineStatus::Idle = 0 , DiscordCoreAPI::CoRoutineStatus::Running = 1 , DiscordCoreAPI::CoRoutineStatus::Complete = 2 , DiscordCoreAPI::CoRoutineStatus::Cancelled = 3 } |
The current status of the associated CoRoutine. More... | |
enum class | DiscordCoreAPI::TimeFormat : char { DiscordCoreAPI::TimeFormat::LongDate = 'D' , DiscordCoreAPI::TimeFormat::LongDateTime = 'F' , DiscordCoreAPI::TimeFormat::LongTime = 'T' , DiscordCoreAPI::TimeFormat::ShortDate = 'd' , DiscordCoreAPI::TimeFormat::ShortDateTime = 'f' , DiscordCoreAPI::TimeFormat::ShortTime = 't' } |
Time formatting methods. More... | |
|
strong |
Enumerator | |
---|---|
Idle | Idle. |
Running | Running. |
Complete | Complete. |
Cancelled | Cancelled. |
Definition at line 38 of file CoRoutine.hpp.
|
strong |
Definition at line 877 of file Utilities.hpp.