Optional flags to request for when getting audit logs
Instance Method
getAuditLog(with:then:)
Get’s this guild’s audit logs
Declaration
func getAuditLog(with options: [String : Any]? = nil, then completion: @escaping (AuditLog?, RequestError?) -> Void)
Parameters
options
-
Options Params
user_id: String of user to look for logs of
action_type: Integer of Audit Log Event. Refer to Audit Log Events
before: String of entry id to look before
limit: Integer of how many entries to return (default 50, minimum 1, maximum 100)