Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <application_commands.h>
Data Fields | |
u64snowflake | id |
char * | name |
struct strings * | name_localizations |
char * | description |
struct strings * | description_localizations |
struct discord_application_command_options * | options |
u64bitmask | default_member_permissions |
bool | dm_permission |
enum discord_application_command_types | type |
u64snowflake discord_bulk_overwrite_guild_application_commands::id |
ID of the command, if known
char* discord_bulk_overwrite_guild_application_commands::name |
Name of the command, 1-32 characters
struct strings* discord_bulk_overwrite_guild_application_commands::name_localizations |
Localization dictionary for the name
field. Values follow the same restriction as name
char* discord_bulk_overwrite_guild_application_commands::description |
1-100 character description
struct strings* discord_bulk_overwrite_guild_application_commands::description_localizations |
Localization dictionary for the description
field. Values follow the same restriction as description
struct discord_application_command_options* discord_bulk_overwrite_guild_application_commands::options |
the parameters for the command
u64bitmask discord_bulk_overwrite_guild_application_commands::default_member_permissions |
Set of Discord permissions represented as a bit set
bool discord_bulk_overwrite_guild_application_commands::dm_permission |
Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are invisible.
enum discord_application_command_types discord_bulk_overwrite_guild_application_commands::type |
one of application command types