Fetching the audit logs not returning as wanted

const kickWithinMinute = await guild.fetchAuditLogs({
  type: AuditLogEvent.MemberKick,
  after: auditLogEntry.createdTimestamp - 60_000
});

What do I need to change to the after: property to only fetch the logs from a minute ago?

With this code snippet is returns the MemberKick audit logs that happened way earlier than 1 minute ago of the created audit log entry, like if that after property doesn't exist in the code.
Was this page helpful?