Concord - C Discord API library
A Discord API wrapper library written in C
|
Audit Log's public API supported by Concord. More...
Data Structures | |
struct | discord_ret_audit_log |
Request's return context. More... | |
Functions | |
CCORDcode | discord_get_guild_audit_log (struct discord *client, u64snowflake guild_id, struct discord_get_guild_audit_log *params, struct discord_ret_audit_log *ret) |
Get audit log for a given guild. More... | |
Audit Log's public API supported by Concord.
CCORDcode discord_get_guild_audit_log | ( | struct discord * | client, |
u64snowflake | guild_id, | ||
struct discord_get_guild_audit_log * | params, | ||
struct discord_ret_audit_log * | ret | ||
) |
Get audit log for a given guild.
client | the client created with discord_init() |
guild_id | the guild to retrieve the audit log from |
params | request parameters |
ret | return context of the request. if successful a discord_audit_log will be sent over to its assigned done callback |