e.photo -> e.media

This commit is contained in:
Flummi 2022-05-07 10:40:37 +02:00
parent 73577441d1
commit 1066e8772b

View File

@ -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 = "";