Skip to content

Commit 12411da

Browse files
committed
fix: delete command
1 parent 8c58008 commit 12411da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default async function (msg: Message): Promise<void> {
1616
const quoted = await msg.getQuotedMessage();
1717

1818
if (quoted.fromMe) {
19-
if (!msg.fromMe && /[aeiou]/i.test(quoted.body)) return;
19+
if (!quoted.fromMe && /[aeiou]/i.test(quoted.body)) return;
2020
await quoted.delete(true, true);
2121
}
2222
}

0 commit comments

Comments
 (0)