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

A single ApplicationCommand. More...

#include <ApplicationCommandEntities.hpp>

Inheritance diagram for DiscordCoreAPI::ApplicationCommand:
[legend]

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
String getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 
- Public Data Members inherited from DiscordCoreAPI::ApplicationCommandData
Snowflake applicationId {}
 The current application id.
 
Permissions defaultMemberPermissions {}
 Set of permissions represented as a bit set all.
 
String description {}
 A description of the current ApplicationCommand.
 
std::unordered_map< String, String > descriptionLocalizations {}
 Dictionary with keys in available locales Localization dictionary for name field.
 
Bool dmPermission { false }
 Indicates whether the command is available in DMs with the app, only for globally - scoped commands.
 
Snowflake guildId {}
 (Where applicable) a Guild id for which guild to assign this ApplicationCommand to.
 
String name {}
 Name of the current ApplicationCommand.
 
std::unordered_map< String, String > nameLocalizations {}
 Dictionary with keys in available locales Localization dictionary for name field.
 
std::vector< ApplicationCommandOptionDataoptions {}
 A vector of possible options for the current ApplicationCommand.
 
ApplicationCommandType type {}
 The type of ApplicationCommand.
 
String version {}
 An autoincremented version.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

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