diff --git a/src/inc/events/message.mjs b/src/inc/events/message.mjs index 19b51d8..ef5fb8f 100644 --- a/src/inc/events/message.mjs +++ b/src/inc/events/message.mjs @@ -20,7 +20,7 @@ export default async bot => { let trigger; - if(e.photo) { + if(e.media) { trigger = [...bot._trigger.entries()].filter(t => t[1].name === "parser"); if(!e.message) e.message = "";