Concord - C Discord API library
A Discord API wrapper library written in C
discord_edit_guild_application_command Struct Reference

#include <application_commands.h>

Collaboration diagram for discord_edit_guild_application_command:
[legend]

Data Fields

char * name
 
char * description
 
struct discord_application_command_optionsoptions
 
u64bitmask default_member_permissions
 
bool default_permission
 

Detailed Description

Field Documentation

◆ name

char* discord_edit_guild_application_command::name

1-32 lowercase character name

Examples
slash-commands2.c.

◆ description

char* discord_edit_guild_application_command::description

1-100 character description

◆ options

struct discord_application_command_options* discord_edit_guild_application_command::options

the parameters for the command

◆ default_member_permissions

u64bitmask discord_edit_guild_application_command::default_member_permissions

Set of Discord permissions represented as a bit set

◆ default_permission

bool discord_edit_guild_application_command::default_permission
Deprecated:
use default_member_permissions instead

The documentation for this struct was generated from the following file: