Get User Connections#

ORCAcode discord_get_user_connections(struct discord *client, struct discord_connection ***ret)#

Get a list of connection objects.

Note

Requires the connections oauth2 scope

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

  • ret – if successful, a null-terminated list of discord_connection, that should be free’d with discord_connection_list_free()

Returns:

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