File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -234,8 +234,8 @@ class AuditLogEntry(DictSerializerMixin):
234234 :ivar Optional[Snowflake] user_id: User or app that made the changes
235235 :ivar Snowflake id: ID of the entry
236236 :ivar AuditLogEvents action_type: Type of action that occurred
237- :ivar OptionalAuditEntryInfo options: Additional info for certain event types
238- :ivar str reason: Reason for the change (1-512 characters)
237+ :ivar Optional[AuditEntryInfo] options: Additional info for certain event types
238+ :ivar Optional[ str] reason: Reason for the change (1-512 characters)
239239 """
240240
241241 target_id : Optional [str ] = field (default = None )
Original file line number Diff line number Diff line change @@ -214,9 +214,16 @@ class GuildAuditLogEntry(AuditLogEntry):
214214 .. versionadded:: 4.4.0
215215
216216 A class object representing the event ``GUILD_AUDIT_LOG_ENTRY_CREATE``.
217- A derivation of AuditLogEntry.
217+ A derivation of :class:`. AuditLogEntry` .
218218
219219 :ivar Snowflake guild_id: The guild ID of event.
220+ :ivar Optional[str] target_id: ID of the affected entity (webhook, user, role, etc.)
221+ :ivar Optional[List[AuditLogChange]] changes: Changes made to the target_id
222+ :ivar Optional[Snowflake] user_id: User or app that made the changes
223+ :ivar Snowflake id: ID of the entry
224+ :ivar AuditLogEvents action_type: Type of action that occurred
225+ :ivar Optional[AuditEntryInfo] options: Additional info for certain event types
226+ :ivar Optional[str] reason: Reason for the change (1-512 characters)
220227 """
221228
222229 guild_id : Snowflake = field (converter = Snowflake )
You can’t perform that action at this time.
0 commit comments