Get Guild Audit Log¶
-
ORCAcode discord_get_guild_audit_log(struct discord *client, u64_snowflake_t guild_id, struct discord_get_guild_audit_log_params *params, struct discord_audit_log *ret)¶
Get audit log for a given guild.
Note
Requires the ‘VIEW_AUDIT_LOG’ permission
- Parameters
client – the client created with discord_init()
guild_id – the guild to retrieve the audit log from
params – request parameters
ret – if successful, a discord_audit_log that should be free’d with
discord_audit_log_cleanup()
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary
Warning
doxygenstruct: Cannot find class “discord_get_guild_audit_log_params” in doxygen xml output for project “Orca” from directory: ../xml