Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <application_commands.h>
Data Fields | |
char * | name |
char * | description |
struct discord_application_command_options * | options |
u64bitmask | default_member_permissions |
bool | dm_permission |
bool | default_permission |
enum discord_application_command_types | type |
char* discord_create_global_application_command::name |
1-32 lowercase character name
char* discord_create_global_application_command::description |
1-100 character description
struct discord_application_command_options* discord_create_global_application_command::options |
the parameters for the command
u64bitmask discord_create_global_application_command::default_member_permissions |
Set of Discord permissions represented as a bit set
bool discord_create_global_application_command::dm_permission |
Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are invisible.
bool discord_create_global_application_command::default_permission |
default_member_permissions
instead enum discord_application_command_types discord_create_global_application_command::type |
the type of command, default 1
if not set