1 parent 8c58008 commit 12411daCopy full SHA for 12411da
1 file changed
src/commands/delete.ts
@@ -16,7 +16,7 @@ export default async function (msg: Message): Promise<void> {
16
const quoted = await msg.getQuotedMessage();
17
18
if (quoted.fromMe) {
19
- if (!msg.fromMe && /[aeiou]/i.test(quoted.body)) return;
+ if (!quoted.fromMe && /[aeiou]/i.test(quoted.body)) return;
20
await quoted.delete(true, true);
21
}
22
0 commit comments