Audit¶
discord_http.audit module¶
- class discord_http.audit.AuditChange(*, entry, data)¶
Bases:
object
- Parameters:
entry (AuditLogEntry)
data (dict)
- class discord_http.audit.AuditLogEntry(*, state, data, guild=None, users=None)¶
Bases:
Snowflake
- Parameters:
state (DiscordAPI)
data (dict)
guild (PartialGuild | None)
- property target: Snowflake | None¶
Returns the target object of the audit log.
The Snowflake can be a PartialChannel, User, PartialRole, etc
- property user: User | PartialUser | None¶
Returns the user object of the audit log if available.