Get Guild Template#

ORCAcode discord_get_guild_template(struct discord *client, char *code, struct discord_guild_template *ret)#

Get a guild template for the given code.

Parameters:
  • client – the client created with discord_init()

  • code – the guild template code

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

Returns:

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