8#ifndef DISCORD_APPLICATION_COMMAND_H
9#define DISCORD_APPLICATION_COMMAND_H
CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
CCORDcode discord_get_guild_application_command_permissions(struct discord *client, u64snowflake application_id, u64snowflake guild_id, struct discord_ret_guild_application_command_permissions *ret)
Fetches command permissions for all commands in a given guild.
CCORDcode discord_create_global_application_command(struct discord *client, u64snowflake application_id, struct discord_create_global_application_command *params, struct discord_ret_application_command *ret)
Create a new global command.
CCORDcode discord_edit_guild_application_command(struct discord *client, u64snowflake application_id, u64snowflake guild_id, u64snowflake command_id, struct discord_edit_guild_application_command *params, struct discord_ret_application_command *ret)
Edit a guild command.
CCORDcode discord_delete_guild_application_command(struct discord *client, u64snowflake application_id, u64snowflake guild_id, u64snowflake command_id, struct discord_ret *ret)
Deletes a guild command.
CCORDcode discord_get_global_application_command(struct discord *client, u64snowflake application_id, u64snowflake command_id, struct discord_ret_application_command *ret)
Fetch a global command for your application.
CCORDcode discord_edit_global_application_command(struct discord *client, u64snowflake application_id, u64snowflake command_id, struct discord_edit_global_application_command *params, struct discord_ret_application_command *ret)
Edit a global command.
CCORDcode discord_bulk_overwrite_guild_application_commands(struct discord *client, u64snowflake application_id, u64snowflake guild_id, struct discord_bulk_overwrite_guild_application_commands *params, struct discord_ret_application_commands *ret)
Overwrite existing guild application commands.
CCORDcode discord_bulk_overwrite_global_application_commands(struct discord *client, u64snowflake application_id, struct discord_application_commands *params, struct discord_ret_application_commands *ret)
Overwrite existing global application commands.
CCORDcode discord_create_guild_application_command(struct discord *client, u64snowflake application_id, u64snowflake guild_id, struct discord_create_guild_application_command *params, struct discord_ret_application_command *ret)
Create a new guild command.
CCORDcode discord_get_global_application_commands(struct discord *client, u64snowflake application_id, struct discord_ret_application_commands *ret)
Fetch all of the global commands for your application.
CCORDcode discord_get_application_command_permissions(struct discord *client, u64snowflake application_id, u64snowflake guild_id, u64snowflake command_id, struct discord_ret_application_command_permission *ret)
Fetches command permissions for a specific command in a given guild.
CCORDcode discord_delete_global_application_command(struct discord *client, u64snowflake application_id, u64snowflake command_id, struct discord_ret *ret)
Deletes a global command.
CCORDcode discord_get_guild_application_command(struct discord *client, u64snowflake application_id, u64snowflake guild_id, u64snowflake command_id, struct discord_ret_application_command *ret)
Fetch a guild command for your application.
CCORDcode discord_get_guild_application_commands(struct discord *client, u64snowflake application_id, u64snowflake guild_id, struct discord_ret_application_commands *ret)
Fetch all of the guild commands of a given guild.
Definition: application_commands.h:107
Definition: application_commands.h:295
Definition: application_commands.h:208
Definition: application_commands.h:254
Definition: application_commands.h:233
Definition: application_commands.h:279
Request's return context.
Definition: discord-response.h:171
Request's return context.
Definition: discord-response.h:169
Request's return context.
Definition: discord-response.h:170
Request's return context.
Definition: discord-response.h:173
Request's return context.
Definition: discord-response.h:54
The Discord client handler.
Definition: discord-internal.h:1182