Create Guild

ORCAcode discord_create_guild(struct discord *client, struct discord_create_guild_params *params, struct discord_guild *ret)

Create a new guild.

Note

Fires a Guild Create event

Parameters
  • client – the client created with discord_init()

  • params – request parameters

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

Returns

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

Warning

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