Concord - C Discord API library
A Discord API wrapper library written in C
application_command.h
Go to the documentation of this file.
1
8#ifndef DISCORD_APPLICATION_COMMAND_H
9#define DISCORD_APPLICATION_COMMAND_H
10
25 struct discord *client,
26 u64snowflake application_id,
28
40 struct discord *client,
41 u64snowflake application_id,
44
55 struct discord *client,
56 u64snowflake application_id,
57 u64snowflake command_id,
59
72 struct discord *client,
73 u64snowflake application_id,
74 u64snowflake command_id,
77
88 struct discord *client,
89 u64snowflake application_id,
90 u64snowflake command_id,
91 struct discord_ret *ret);
92
106 struct discord *client,
107 u64snowflake application_id,
108 struct discord_application_commands *params,
110
121 struct discord *client,
122 u64snowflake application_id,
123 u64snowflake guild_id,
125
139 struct discord *client,
140 u64snowflake application_id,
141 u64snowflake guild_id,
144
156 struct discord *client,
157 u64snowflake application_id,
158 u64snowflake guild_id,
159 u64snowflake command_id,
161
175 struct discord *client,
176 u64snowflake application_id,
177 u64snowflake guild_id,
178 u64snowflake command_id,
181
193 u64snowflake application_id,
194 u64snowflake guild_id,
195 u64snowflake command_id,
196 struct discord_ret *ret);
197
211 struct discord *client,
212 u64snowflake application_id,
213 u64snowflake guild_id,
216
227 struct discord *client,
228 u64snowflake application_id,
229 u64snowflake guild_id,
231
243 struct discord *client,
244 u64snowflake application_id,
245 u64snowflake guild_id,
246 u64snowflake command_id,
248
256#endif /* 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:1190