|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
CCORDcode | discord_delete_global_application_command (struct discord *client, u64snowflake application_id, u64snowflake command_id, struct discord_ret *ret) |
| Deletes a global command. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
Application Command public functions and datatypes.
- Author
- Cogmasters
- Todo:
- application_id should be cached and used when its input value is
0