@@ -153,7 +153,7 @@ class GuildAuditLogsEntry {
153
153
this . executor = data . user_id
154
154
? guild . client . options . partials . includes ( Partials . User )
155
155
? guild . client . users . _add ( { id : data . user_id } )
156
- : ( guild . client . users . cache . get ( data . user_id ) ?? null )
156
+ : guild . client . users . resolve ( data . user_id )
157
157
: null ;
158
158
159
159
/**
@@ -299,7 +299,7 @@ class GuildAuditLogsEntry {
299
299
} else if ( targetType === Targets . User && data . target_id ) {
300
300
this . target = guild . client . options . partials . includes ( Partials . User )
301
301
? guild . client . users . _add ( { id : data . target_id } )
302
- : ( guild . client . users . cache . get ( data . target_id ) ?? null ) ;
302
+ : guild . client . users . resolve ( data . target_id ) ;
303
303
} else if ( targetType === Targets . Guild ) {
304
304
this . target = guild . client . guilds . cache . get ( data . target_id ) ;
305
305
} else if ( targetType === Targets . Webhook ) {
@@ -323,7 +323,7 @@ class GuildAuditLogsEntry {
323
323
this . target =
324
324
data . action_type === AuditLogEvent . MessageBulkDelete
325
325
? ( guild . channels . cache . get ( data . target_id ) ?? { id : data . target_id } )
326
- : ( guild . client . users . cache . get ( data . target_id ) ?? null ) ;
326
+ : guild . client . users . resolve ( data . target_id ) ;
327
327
} else if ( targetType === Targets . Integration ) {
328
328
this . target =
329
329
logs ?. integrations . get ( data . target_id ) ??
0 commit comments