File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
packages/discord.js/src/structures Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,6 @@ class GuildAuditLogsEntry {
487
487
AuditLogEvent . ThreadUpdate ,
488
488
AuditLogEvent . SoundboardSoundUpdate ,
489
489
AuditLogEvent . ApplicationCommandPermissionUpdate ,
490
- AuditLogEvent . SoundboardSoundUpdate ,
491
490
AuditLogEvent . AutoModerationRuleUpdate ,
492
491
AuditLogEvent . AutoModerationBlockMessage ,
493
492
AuditLogEvent . AutoModerationFlagToChannel ,
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ class SoundboardSound extends Base {
181
181
this . available === other . available &&
182
182
this . name === other . name &&
183
183
this . volume === other . volume &&
184
- this . emojiId === other . emojiId &&
185
- this . emojiName === other . emojiName &&
184
+ this . _emoji ?. id === other . _emoji ?. id &&
185
+ this . _emoji ?. name === other . _emoji ?. name &&
186
186
this . guildId === other . guildId &&
187
187
this . user ?. id === other . user ?. id
188
188
) ;
@@ -193,8 +193,8 @@ class SoundboardSound extends Base {
193
193
this . available === other . available &&
194
194
this . name === other . name &&
195
195
this . volume === other . volume &&
196
- this . emojiId === other . emoji_id &&
197
- this . emojiName === other . emoji_name &&
196
+ ( this . _emoji ?. id ?? null ) === other . emoji_id &&
197
+ ( this . _emoji ?. name ?? null ) === other . emoji_name &&
198
198
this . guildId === other . guild_id &&
199
199
this . user ?. id === other . user ?. id
200
200
) ;
You can’t perform that action at this time.
0 commit comments