![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Permissions data for an ApplicationCommand. More...
#include <FoundationEntities.hpp>
Public Data Members | |
bool | permission {} |
Whether the PermissionTypes is active or not. | |
ApplicationCommandPermissionType | type { ApplicationCommandPermissionType::Role } |
The type of PermissionTypes. | |
![]() | |
Snowflake | id {} |
Additional Inherited Members | |
![]() | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |