Interface AuditLogEntryTarget

    • Method Detail

      • getAuditLogEntry

        AuditLogEntry getAuditLogEntry​()
        Gets the audit log entry this target belongs to.
        Returns:
        The audit log entry this target belongs to.
      • asUser

        default CompletableFuture<User> asUser​()
        Gets the target as user.
        Returns:
        The target as user.
      • asServer

        default Optional<Server> asServer​()
        Gets the target as server.
        Returns:
        The target as server.
      • asChannel

        default Optional<ServerChannel> asChannel​()
        Gets the target as channel.
        Returns:
        The target as channel.
      • asWebhook

        default Optional<Webhook> asWebhook​()
        Gets the target as webhook.
        Returns:
        The target as webhook.