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

#include <application_commands.h>

Collaboration diagram for discord_bulk_overwrite_guild_application_commands:
[legend]

Data Fields

u64snowflake id
 
char * name
 
struct stringsname_localizations
 
char * description
 
struct stringsdescription_localizations
 
struct discord_application_command_optionsoptions
 
u64bitmask default_member_permissions
 
bool dm_permission
 
enum discord_application_command_types type
 

Field Documentation

◆ id

u64snowflake discord_bulk_overwrite_guild_application_commands::id

ID of the command, if known

◆ name

char* discord_bulk_overwrite_guild_application_commands::name

Name of the command, 1-32 characters

◆ name_localizations

struct strings* discord_bulk_overwrite_guild_application_commands::name_localizations

Localization dictionary for the name field. Values follow the same restriction as name

◆ description

char* discord_bulk_overwrite_guild_application_commands::description

1-100 character description

◆ description_localizations

struct strings* discord_bulk_overwrite_guild_application_commands::description_localizations

Localization dictionary for the description field. Values follow the same restriction as description

◆ options

struct discord_application_command_options* discord_bulk_overwrite_guild_application_commands::options

the parameters for the command

◆ default_member_permissions

u64bitmask discord_bulk_overwrite_guild_application_commands::default_member_permissions

Set of Discord permissions represented as a bit set

◆ dm_permission

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.

◆ type

enum discord_application_command_types discord_bulk_overwrite_guild_application_commands::type

one of application command types


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