requestedAuditLog

abstract fun requestedAuditLog(guildId: Long, userId: GetterSnowFlake? = null, limit: Int = 50, before: GetterSnowFlake? = null, actionType: AuditLogType? = null): CompletableDeferred<AuditLog>(source)

Request the audit log for the guild.

Return

A CompletableDeferred that will request the audit log.

Parameters

userId

The id of the user.

limit

Maximum number of entries (between 1-100) to return, defaults to 50

before

Entries that preceded a specific audit log entry ID.

actionType

The type of action to filter by.