A Discord bot library written in C++, with custom asynchronous coroutines.
No Matches
DiscordCoreAPI::ApplicationCommandPermissionData Class Reference

Permissions data for an ApplicationCommand. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::ApplicationCommandPermissionData:

Public Data Members

bool permission {}
 Whether the PermissionTypes is active or not.
ApplicationCommandPermissionType type { ApplicationCommandPermissionType::Role }
 The type of PermissionTypes.
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp.

The documentation for this class was generated from the following files: