Alchemy.AuditLog.get_guild_log

You're seeing just the function get_guild_log, go back to Alchemy.AuditLog module for more information.
Link to this function

get_guild_log(guild, options \\ [])

Specs

get_guild_log(snowflake(),
  user_id: snowflake(),
  action_type: action(),
  before: snowflake(),
  limit: integer()
) :: {:ok, t()} | {:error, term()}

Returns an audit log entry for a guild.

Requires :view_audit_log permission.

Options

  • user_id Filters the log for a user id.
  • action_type The type of audit log event
  • before Filter the log before a certain entry id.
  • limit How many entries are returned (default 50, between 1 and 100).