Nostrum.Api.get_guild_audit_log

You're seeing just the function get_guild_audit_log, go back to Nostrum.Api module for more information.
Link to this function

get_guild_audit_log(guild_id, options \\ [])

View Source

Specs

get_guild_audit_log(Nostrum.Struct.Guild.id(), options()) ::
  {:ok, Nostrum.Struct.Guild.AuditLog.t()} | error()

Get the Nostrum.Struct.Guild.AuditLog.t/0 for the given guild_id.

Options

  • :user_id (Nostrum.Struct.User.id/0) - filter the log for a user ID
  • :action_type (integer/0) - filter the log by audit log type, see Audit Log Events
  • :before (t:Nostrum.Struct.Snowflake.t/0) - filter the log before a certain entry ID
  • :limit (t:positive_integer/0) - how many entries are returned (default 50, minimum 1, maximum 100)