![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Base class for all Discord entities. More...
#include <FoundationEntities.hpp>
Public Member Functions | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |
Public Data Members | |
Snowflake | id {} |
std::string DiscordCoreAPI::DiscordEntity::getCreatedAtTimestamp | ( | TimeFormat | timeFormat | ) |
Definition at line 252 of file FoundationEntities.cpp.
Snowflake DiscordCoreAPI::DiscordEntity::id {} |
The identifier "snowflake" of the given entity.
Definition at line 360 of file FoundationEntities.hpp.