Skip to content

Commit

Permalink
this should be more accurate I think
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Dec 25, 2024
1 parent 039ebdd commit e825fe9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const MenuRemoveHighlightMessageCommand: MenuCommand = {
m =>
m.author.username === ctx.user.username &&
m.content === ctx.targetMessage.content &&
m.attachments === ctx.targetMessage.attachments
m.attachments.size > 0 &&
m.attachments.first()?.name === ctx.targetMessage.attachments.first()?.name
);
const deleted = await targetMessage?.delete().catch(console.error);

Expand Down

0 comments on commit e825fe9

Please sign in to comment.