Members
(static) Actions :AuditLogAction
All available actions keyed under their names to their numeric values.
Type:
- Source:
(static) Targets :AuditLogTargetType
Key mirror of all available audit log targets.
Type:
- Source:
entries :Collection.<Snowflake, GuildAuditLogsEntry>
The entries for this guild's audit logs
Type:
- Collection.<Snowflake, GuildAuditLogsEntry>
- Source:
(private) integrations :Collection.<Snowflake, Integration>
Cached integrations
Type:
- Collection.<Snowflake, Integration>
- Source:
(private) webhooks :Collection.<Snowflake, Webhook>
Cached webhooks
Type:
- Source:
Methods
(static) actionType(action) → {AuditLogActionType}
Finds the action type from the entry action.
Parameters:
Name | Type | Description |
---|---|---|
action |
AuditLogAction | The action target |
- Source:
Returns:
- Type
- AuditLogActionType
(static) build() → {Promise.<GuildAuditLogs>}
Handles possible promises for entry targets.
- Source:
Returns:
- Type
- Promise.<GuildAuditLogs>
(static) targetType(target) → {AuditLogTargetType}
Finds the target type from the entry action.
Parameters:
Name | Type | Description |
---|---|---|
target |
AuditLogAction | The action target |
- Source:
Returns:
- Type
- AuditLogTargetType