Class AuditLogEntryCreateEvent


public class AuditLogEntryCreateEvent extends GuildEvent
Dispatched when an Entry of an Audit Log is created in a guild.

This event is dispatched by Discord.

See Also:
  • Constructor Details

  • Method Details

    • getGuildId

      public Snowflake getGuildId()
      Gets the Snowflake ID of the Guild involved in the event.
      Returns:
      The ID of the Guild.
    • getGuild

      public Mono<Guild> getGuild()
      Requests to retrieve the Guild whose the entry was created.
      Returns:
      A Mono where, upon successful completion, emits the Guild involved. If an error is received, it is emitted through the Mono.
    • getAuditLogEntry

      public AuditLogEntry getAuditLogEntry()
      Get the AuditLogEntry related to this event.
      Returns:
      a AuditLogEntry.
    • toString

      public String toString()
      Overrides:
      toString in class Object