Get Guild Webhooks#
-
ORCAcode discord_get_guild_webhooks(struct discord *client, u64_snowflake_t guild_id, struct discord_webhook ***ret)#
Get webhooks from a given guild webhook objects.
Note
Requires the MANAGE_WEBHOOKS permission
- Parameters:
client – the client created with discord_init()
guild_id – the guild that the webhooks belongs to
ret – if successful, a null-terminated list of discord_webhook, that should be free’d with
discord_webhook_list_free()
- Returns:
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary