Method: Discordrb::AuditLogs#latest

Defined in:
lib/discordrb/data.rb

#latestEntry Also known as: first

Returns the latest entry in the audit logs.

Returns:

  • (Entry)

    the latest entry in the audit logs.



4122
4123
4124
# File 'lib/discordrb/data.rb', line 4122

def latest
  @entries.first
end