Edit Guild Application Command

ORCAcode discord_edit_guild_application_command(struct discord *client, u64_snowflake_t application_id, u64_snowflake_t guild_id, u64_snowflake_t command_id, struct discord_edit_guild_application_command_params *params, struct discord_application_command *ret)

Edit a guild command.

Note

Updates for guild commands will be available immediately

Parameters
  • client – the client created with discord_init()

  • application_id – the unique id of the parent application

  • guild_id – the guild where the command is located

  • command_id – the registered command id

  • params – request parameters

  • ret – if successful, a discord_application_command that should be free’d with discord_application_command_cleanup()

Returns

ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary

Warning

doxygenstruct: Cannot find class “discord_edit_guild_application_command_params” in doxygen xml output for project “Orca” from directory: ../xml