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 |
char* discord_edit_global_application_command::name |
1-32 lowercase character name
char* discord_edit_global_application_command::description |
1-100 character description
struct discord_application_command_options* discord_edit_global_application_command::options |
the parameters for the command
u64bitmask discord_edit_global_application_command::default_member_permissions |
Set of Discord permissions represented as a bit set
bool discord_edit_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_edit_global_application_command::default_permission |
default_member_permissions
instead